Skip to content

Commit

Permalink
docker: expose web-api on port 5000
Browse files Browse the repository at this point in the history
* Close inveniosoftware#105

Signed-off-by: Jan Okraska <jan.okraska@cern.ch>
  • Loading branch information
okraskaj authored and lnielsen committed Jul 30, 2019
1 parent 3a99f84 commit 9f1f82b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion {{cookiecutter.project_shortname}}/docker-compose.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ services:
command: ["uwsgi /opt/invenio/var/instance/uwsgi_rest.ini"]
image: {{cookiecutter.project_shortname}}
ports:
- "5001"
- "5000"
volumes:
- static_data:/opt/invenio/var/instance/static
links:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ upstream ui_server {
server web-ui:5000 fail_timeout=0;
}
upstream api_server {
server web-api:5001 fail_timeout=0;
server web-api:5000 fail_timeout=0;
}

# HTTP server
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% include 'misc/header.py' %}
[uwsgi]
socket = 0.0.0.0:5001
socket = 0.0.0.0:5000
stats = 0.0.0.0:9001
module = invenio_app.wsgi_rest:application
master = true
Expand Down

0 comments on commit 9f1f82b

Please sign in to comment.