forked from wiktor/spejstore-new
Replace docker-compose to gunicorn run
This commit is contained in:
parent
8210381027
commit
e2e82b1a2e
|
@ -9,7 +9,7 @@ services:
|
||||||
web:
|
web:
|
||||||
build: .
|
build: .
|
||||||
restart: always
|
restart: always
|
||||||
command: bash -c "python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
command: bash -c "python manage.py migrate && gunicorn -b 0.0.0.0:8000 spejstore.wsgi:application"
|
||||||
volumes:
|
volumes:
|
||||||
- .:/code
|
- .:/code
|
||||||
ports:
|
ports:
|
||||||
|
|
Loading…
Reference in New Issue