[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