32 lines
686 B
Plaintext
32 lines
686 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
logfile=/app/log/supervisord.log
|
|
logfile_maxbytes=10MB
|
|
logfile_backups=3
|
|
loglevel=info
|
|
pidfile=/run/supervisord.pid
|
|
user=cloudron
|
|
|
|
[program:nginx]
|
|
command=/usr/sbin/nginx -g "daemon off;"
|
|
priority=10
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
autostart=true
|
|
autorestart=true
|
|
|
|
[program:grist]
|
|
command=bash -c "cd /app/pkg/grist-core && node sandbox/pyodide.js"
|
|
user=cloudron
|
|
environment=HOME=/app/data
|
|
directory=/app/pkg/grist-core
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
autostart=true
|
|
autorestart=true
|
|
startretries=3
|
|
priority=20 |