made server ready for production

This commit is contained in:
CDaut 2022-06-25 21:53:51 +02:00
parent c9e97da9e9
commit ee55b7ae44
3 changed files with 8 additions and 4 deletions

View file

@ -8,10 +8,10 @@ services:
volumes:
- ./markdownblog:/markdownblog
ports:
- "8000:8000"
- "8234:8234"
env_file:
- envvars.env
command: python3 manage.py runserver 0.0.0.0:8000
command: gunicorn markdownblog.wsgi -b 0.0.0.0:8234
@ -20,4 +20,4 @@ services:
ports:
- "5432:5432"
env_file:
- envvars.env
- envvars.env