update ports
This commit is contained in:
parent
a010524e75
commit
cbba65f450
2 changed files with 8 additions and 6 deletions
|
|
@ -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;
|
||||
# }
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,6 +38,8 @@ services:
|
|||
- FLASK_ENV=production
|
||||
- FLASK_DEBUG=0
|
||||
- FLASK_RUN_PORT=5000
|
||||
ports:
|
||||
- "5000:5000"
|
||||
networks:
|
||||
- net
|
||||
depends_on:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue