From cbba65f4502539d3e0c86c68a6bc60ba83072ccd Mon Sep 17 00:00:00 2001 From: Baptiste Peupier <60870677+BaptistePeupier@users.noreply.github.com> Date: Wed, 2 Feb 2022 13:10:30 +0100 Subject: [PATCH] update ports --- frontend/conf/nginx.conf | 12 ++++++------ frontend/docker-compose.yml | 2 ++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/frontend/conf/nginx.conf b/frontend/conf/nginx.conf index e1ee6c3..2a7b0ab 100644 --- a/frontend/conf/nginx.conf +++ b/frontend/conf/nginx.conf @@ -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; + # } } } diff --git a/frontend/docker-compose.yml b/frontend/docker-compose.yml index f29551a..46e015f 100644 --- a/frontend/docker-compose.yml +++ b/frontend/docker-compose.yml @@ -38,6 +38,8 @@ services: - FLASK_ENV=production - FLASK_DEBUG=0 - FLASK_RUN_PORT=5000 + ports: + - "5000:5000" networks: - net depends_on: