made server ready for production
This commit is contained in:
parent
c9e97da9e9
commit
ee55b7ae44
3 changed files with 8 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue