Skip to content

Commit c8ed9dc

Browse files
fix(deploy): harden production web startup (#68)
1 parent 5a73bfc commit c8ed9dc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎docker/docker-compose-traefik.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ services:
3030
entrypoint: ["/bin/bash", "-c"]
3131
command:
3232
- |
33+
set -e
3334
python manage.py migrate
3435
python manage.py collectstatic --noinput
35-
gunicorn ahc.wsgi:application --bind 0.0.0.0:8000 --workers 4
36+
exec gunicorn ahc.wsgi:application --bind 0.0.0.0:8000 --workers 4 --no-control-socket
3637
networks:
3738
- ahc_net
3839
- proxy

‎static/js/vendor/chart.umd.min.js‎

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)