Files
blinko-cloudron/supervisor/supervisord.conf

39 lines
1000 B
Plaintext

[supervisord]
nodaemon=true
logfile=/dev/stdout
logfile_maxbytes=0
pidfile=/run/supervisord.pid
[unix_http_server]
file=/run/supervisor.sock
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///run/supervisor.sock
[program:nginx]
command=/usr/sbin/nginx -c /run/nginx.conf
directory=/app/code
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
priority=10
[program:blinko]
command=/usr/local/bin/dumb-init node /app/code/dist/index.js
directory=/app/data
user=cloudron
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
priority=20
environment=NODE_ENV="production",HOME="/app/data",BLINKO_DATA_PATH="/app/data/.blinko",PRISMA_QUERY_ENGINE_LIBRARY="/app/code/node_modules/.prisma/client/libquery_engine-debian-openssl-3.0.x.so.node"