initial commit

This commit is contained in:
2026-03-24 14:44:15 -07:00
commit dac995a33e
11 changed files with 10359 additions and 0 deletions

36
supervisord.conf Normal file
View File

@ -0,0 +1,36 @@
[supervisord]
nodaemon=true
logfile=/dev/stdout ; Supervisor itself → stdout
logfile_maxbytes=0 ; (no rotation keeps it simple)
logfile_backups=0
loglevel=info
[program:apache]
command=/usr/sbin/apache2ctl -D FOREGROUND
autostart=true
autorestart=true
stdout_logfile=/dev/stdout ; Apache → stdout
stderr_logfile=/dev/stderr ; Apache → stderr
stdout_logfile_maxbytes=0
stderr_logfile_maxbytes=0
redirect_stderr=true
[program:python]
command=python3 /usr/src/app/app.py
autostart=true
autorestart=true
stdout_logfile=/dev/stdout ; Python → stdout
stderr_logfile=/dev/stderr ; Python → stderr
stdout_logfile_maxbytes=0
stderr_logfile_maxbytes=0
redirect_stderr=true
[program:nginx]
command=/usr/sbin/nginx -g 'daemon off;'
autostart=true
autorestart=true
stdout_logfile=/dev/stdout ; Nginx → stdout
stderr_logfile=/dev/stderr ; Nginx → stderr
stdout_logfile_maxbytes=0
stderr_logfile_maxbytes=0
redirect_stderr=true