Skip to content

Commit

Permalink
Only use port 3048 for production
Browse files Browse the repository at this point in the history
  • Loading branch information
AetherUnbound authored and sea-kelp committed May 18, 2022
1 parent 81d3e15 commit c2b1e84
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit c2b1e84

Please sign in to comment.