Files
Fitness/supervisord.conf
2026-10-17 04:43:52 -07:00

25 lines
703 B
Plaintext

[supervisord]
nodaemon=true
logfile=/dev/stdout
logfile_maxbytes=0
# ------------------------------------------------------------------
# 1. Apache (from the base image)
# ------------------------------------------------------------------
[program:apache2]
command=/usr/sbin/apache2ctl -D FOREGROUND
stdout_logfile=/dev/stdout
stderr_logfile=/dev/stderr
autorestart=true
priority=1
# ----------------------------------------------------------
# 2. Fitness app
# ----------------------------------------------------------
[program:Fitness]
command=/opt/Fitness/venv/bin/python3 /opt/Fitness/app.py
directory=/opt/Fitness
stdout_logfile=/dev/stdout
stderr_logfile=/dev/stderr
autorestart=true
priority=2