copied cosmostat web dashboard for init dashboard work
This commit is contained in:
1 parent
b414065d63
commit
92a97752ad
28 files changed
+2804
-3
No files matched your search
@@ -0,0 +1,59 @@
|
||||
[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. Redis
|
||||
# ------------------------------------------------------------------
|
||||
[program:redis]
|
||||
command=/usr/bin/redis-server --daemonize no --protected-mode no
|
||||
stdout_logfile=/dev/stdout
|
||||
stderr_logfile=/dev/stderr
|
||||
autorestart=true
|
||||
priority=2
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
# 3. Nginx (will listen on 8080 by default)
|
||||
# ------------------------------------------------------------------
|
||||
[program:nginx]
|
||||
command=/usr/sbin/nginx -g 'daemon off;'
|
||||
stdout_logfile=/dev/stdout
|
||||
stderr_logfile=/dev/stderr
|
||||
autorestart=true
|
||||
priority=3
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
# 4. Node.js
|
||||
# ------------------------------------------------------------------
|
||||
# NOTE: Adjust the command/path to match your app
|
||||
[program:node]
|
||||
command=sh -c "npm install && node server.js"
|
||||
#command=npm start
|
||||
directory=/usr/src/app
|
||||
stdout_logfile=/dev/stdout
|
||||
stderr_logfile=/dev/stderr
|
||||
autorestart=true
|
||||
priority=4
|
||||
|
||||
|
||||
# ----------------------------------------------------------
|
||||
# 5. DriveHealth app
|
||||
# ----------------------------------------------------------
|
||||
[program:DriveHealth]
|
||||
command=/opt/DriveHealth/venv/bin/python3 /opt/DriveHealth/app.py
|
||||
directory=/opt/DriveHealth
|
||||
stdout_logfile=/dev/stdout
|
||||
stderr_logfile=/dev/stderr
|
||||
autorestart=true
|
||||
priority=5
|
||||
Reference in new issue
Block a user