prepare for prod
This commit is contained in:
parent
464f95ee40
commit
7307ec3931
6 changed files with 116 additions and 17 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue