27 lines
643 B
Plaintext
27 lines
643 B
Plaintext
|
|
[supervisord]
|
||
|
|
nodaemon=true
|
||
|
|
logfile=/dev/null
|
||
|
|
logfile_maxbytes=0
|
||
|
|
pidfile=/tmp/supervisord.pid
|
||
|
|
user=root
|
||
|
|
|
||
|
|
[program:nginx]
|
||
|
|
command=/usr/sbin/nginx -g "daemon off;"
|
||
|
|
stdout_logfile=/dev/stdout
|
||
|
|
stdout_logfile_maxbytes=0
|
||
|
|
stderr_logfile=/dev/stderr
|
||
|
|
stderr_logfile_maxbytes=0
|
||
|
|
autorestart=true
|
||
|
|
priority=10
|
||
|
|
|
||
|
|
[program:backend]
|
||
|
|
command=node /app/backend/dist/index.js
|
||
|
|
directory=/app/backend
|
||
|
|
environment=NODE_ENV="production",PORT="3001",DATABASE_PATH="/app/data/tracker.db",PUPPETEER_EXECUTABLE_PATH="/usr/bin/chromium"
|
||
|
|
stdout_logfile=/dev/stdout
|
||
|
|
stdout_logfile_maxbytes=0
|
||
|
|
stderr_logfile=/dev/stderr
|
||
|
|
stderr_logfile_maxbytes=0
|
||
|
|
autorestart=true
|
||
|
|
priority=20
|