add gunicorn logging

This commit is contained in:
Oliver Marks 2017-02-05 13:58:30 +00:00
parent 3d8c6a24a2
commit e3d266e539
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh
python /app/manage.py collectstatic --noinput
python /app/manage.py compilescss
/usr/local/bin/gunicorn config.wsgi -w 4 -b unix:/data/sockets/gunicorn.sock --chdir=/app
/usr/local/bin/gunicorn config.wsgi -w 4 -b unix:/data/sockets/gunicorn.sock --error-logfile /var/log/gunicorn/gunicorn-error.log --chdir=/app

View File

@ -2,7 +2,6 @@ version: '2'
volumes:
sockets:
driver: local
external: true
postgres_data:
driver: local