initial docker setup

This commit is contained in:
matt committed 2026-10-17 04:43:52 -07:00
1 parent 2e3e8d8514
commit 6776bf9726
8 files changed
+119 -5

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
[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