Files
blinko-cloudron/supervisor/supervisord.conf
Andreas Düren ef38a99105 Fix NGINX temp dirs and Blinko entry point
- Configure NGINX to use /run for temp directories
- Fix Blinko entry point to dist/index.js
2025-12-29 17:07:33 -06:00

39 lines
850 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/code
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"