forked from wiktor/spejstore-new
Make gunicorn properly report errots
This commit is contained in:
parent
f7688262e4
commit
c15f1bb840
|
@ -15,4 +15,4 @@ ADD . /code/
|
|||
RUN python -m pip install gunicorn
|
||||
|
||||
RUN python manage.py collectstatic
|
||||
CMD bash -c "python manage.py migrate && gunicorn -b 0.0.0.0:8000 spejstore.wsgi:application"
|
||||
CMD bash -c "python manage.py migrate && gunicorn -b 0.0.0.0:8000 --capture-output --error-logfile - --access-logfile - spejstore.wsgi:application"
|
||||
|
|
|
@ -9,7 +9,7 @@ services:
|
|||
web:
|
||||
build: .
|
||||
restart: always
|
||||
command: bash -c "python manage.py migrate && gunicorn -b 0.0.0.0:8000 spejstore.wsgi:application"
|
||||
command: bash -c "python manage.py migrate && gunicorn -b 0.0.0.0:8000 --capture-output --error-logfile - --access-logfile - spejstore.wsgi:application"
|
||||
volumes:
|
||||
- .:/code
|
||||
ports:
|
||||
|
|
Loading…
Reference in New Issue