update ports

This commit is contained in:
Baptiste Peupier 2022-02-02 13:10:30 +01:00
parent a010524e75
commit cbba65f450
2 changed files with 8 additions and 6 deletions

View file

@ -21,9 +21,9 @@ http {
server frontend:4200;
}
upstream flask-frontend {
server flask-frontend:5000;
}
# upstream flask-frontend {
# server flask-frontend:5000;
# }
server {
@ -34,9 +34,9 @@ http {
proxy_pass http://frontend;
}
location /api {
proxy_pass http://flask-frontend;
}
# location /api {
# proxy_pass http://flask-frontend;
# }
}
}

View file

@ -38,6 +38,8 @@ services:
- FLASK_ENV=production
- FLASK_DEBUG=0
- FLASK_RUN_PORT=5000
ports:
- "5000:5000"
networks:
- net
depends_on: