40 lines
750 B
Plaintext
40 lines
750 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
logfile=/dev/null
|
|
logfile_maxbytes=0
|
|
pidfile=/tmp/supervisord.pid
|
|
|
|
[program:api]
|
|
directory=/app/api
|
|
command=node dist/main.js
|
|
user=node
|
|
autorestart=true
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
stdout_logfile=/dev/fd/1
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/fd/2
|
|
stderr_logfile_maxbytes=0
|
|
|
|
[program:mcp]
|
|
directory=/app/api
|
|
command=node dist/mcp-http-main.js
|
|
user=node
|
|
autorestart=true
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
stdout_logfile=/dev/fd/1
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/fd/2
|
|
stderr_logfile_maxbytes=0
|
|
|
|
[program:nginx]
|
|
command=nginx -g "daemon off;"
|
|
autorestart=true
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
stdout_logfile=/dev/fd/1
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/fd/2
|
|
stderr_logfile_maxbytes=0
|