Removed nginx container. Added supervisord and nginx to build.

This commit is contained in:
2026-01-19 13:09:48 +00:00
parent 3e0c5d2ecc
commit 1e53a1a74e
11 changed files with 135 additions and 22 deletions

View File

@@ -0,0 +1,28 @@
[supervisord]
nodaemon=true
logfile=/var/log/supervisord.log
pidfile=/var/run/supervisord.pid
[program:gunicorn]
command=/app/scripts/gunicorn.sh
directory=/app
user=djangouser
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopsignal=TERM
stopasgroup=true
killasgroup=true
[program:nginx]
command=/usr/sbin/nginx -g "daemon off;"
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopsignal=QUIT