initial docker setup
This commit is contained in:
1 parent
2e3e8d8514
commit
6776bf9726
8 files changed
+119
-5
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user