From c2b1e840e4ae8ac5e36ff92e3c34c33e93c47c8b Mon Sep 17 00:00:00 2001 From: Madison Swain-Bowden Date: Tue, 17 May 2022 23:18:48 -0700 Subject: [PATCH] Only use port 3048 for production --- docker-compose.override.yml | 4 +++- docker-compose.yml | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docker-compose.override.yml b/docker-compose.override.yml index 59888e3..84f4df2 100644 --- a/docker-compose.override.yml +++ b/docker-compose.override.yml @@ -7,6 +7,8 @@ services: FLASK_ENV: development FLASK_DEBUG: 1 FLASK_APP: run:flask - command: flask run --host=0.0.0.0 --port=3048 + command: flask run --host=0.0.0.0 --port=3000 volumes: - ./app:/app/app + ports: + - "3000:3000" diff --git a/docker-compose.yml b/docker-compose.yml index 79444ab..a993a95 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,6 +13,6 @@ services: - .env volumes: - ./db.sqlite3:/app/db.sqlite3 - command: gunicorn --workers=2 --bind 0.0.0.0:3048 wsgi:app + command: gunicorn --workers=2 --bind 0.0.0.0:3000 wsgi:app ports: - - "3048:3048" + - "3048:3000"