prepare for prod

This commit is contained in:
Hugh Rundle 2024-01-08 09:33:01 +11:00
commit 7307ec3931
Signed by: hugh
GPG key ID: A7E35779918253F9
6 changed files with 116 additions and 17 deletions

View file

@ -11,7 +11,8 @@ services:
web:
build: .
env_file: .env
command: python manage.py runserver 0.0.0.0:8000
# command: python manage.py runserver 0.0.0.0:8000
command: gunicorn --env DJANGO_SETTINGS_MODULE=ausglamr.settings ausglamr.wsgi --workers=10 --threads=4 -b 0.0.0.0:8000
volumes:
- .:/app
depends_on:
@ -19,7 +20,7 @@ services:
networks:
- main
ports:
- "8000:8000"
- "8282:8000"
volumes:
pgdata:
networks: