Skip to content

Commit

Permalink
set port to 9000 in docker (mljar#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
pplonski committed Sep 19, 2023
1 parent 5cfe96b commit 81e9411
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docker-compose-https.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ services:
- static_volume:/app/mercury/django_static
- media_volume:/app/mercury/media
expose:
- 8000
- 9000
environment:
DEBUG: ${DEBUG}
SERVE_STATIC: ${SERVE_STATIC}
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
- static_volume:/app/mercury/django_static
- media_volume:/app/mercury/media
expose:
- 8000
- 9000
environment:
DEBUG: ${DEBUG}
SERVE_STATIC: ${SERVE_STATIC}
Expand Down
2 changes: 1 addition & 1 deletion docker/mercury/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ celery -A server worker --loglevel=info -P gevent --concurrency 4 -E -Q celery,w

celery -A server beat --loglevel=error --max-interval 60 &

daphne server.asgi:application --bind 0.0.0.0 --port 8000
daphne server.asgi:application --bind 0.0.0.0 --port 9000

#gunicorn server.wsgi --bind 0.0.0.0:8000 --workers 4 --threads 4

Expand Down
4 changes: 2 additions & 2 deletions docker/nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ server {
location @proxy_api {
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_pass http://mercury:8000;
proxy_pass http://mercury:9000;
}

location /ws {
Expand All @@ -33,7 +33,7 @@ server {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_redirect off;
proxy_pass http://mercury:8000;
proxy_pass http://mercury:9000;
}

location /django_static/ {
Expand Down
4 changes: 2 additions & 2 deletions docker/nginx/pro/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_pass http://mercury:8000;
proxy_pass http://mercury:9000;
}

location /ws {
Expand All @@ -56,7 +56,7 @@ server {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_redirect off;
proxy_pass http://mercury:8000;
proxy_pass http://mercury:9000;
}

location /django_static/ {
Expand Down

0 comments on commit 81e9411

Please sign in to comment.