mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 10:16:49 +00:00
- add ccs docker subcommands for up, down, status, update, logs, and config - bundle integrated docker assets and remote ssh deployment support - add executor regression tests and root help/router coverage Refs #812
44 lines
997 B
Plaintext
44 lines
997 B
Plaintext
[unix_http_server]
|
|
file=/var/run/supervisor.sock
|
|
chmod=0700
|
|
|
|
[supervisord]
|
|
nodaemon=true
|
|
user=root
|
|
logfile=/var/log/supervisord.log
|
|
pidfile=/var/run/supervisord.pid
|
|
loglevel=info
|
|
|
|
[rpcinterface:supervisor]
|
|
supervisor.rpcinterface_factory=supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
[supervisorctl]
|
|
serverurl=unix:///var/run/supervisor.sock
|
|
|
|
[program:cliproxy]
|
|
command=node /usr/local/bin/ccs-docker-bootstrap run-cliproxy
|
|
directory=/root
|
|
autostart=true
|
|
autorestart=true
|
|
startsecs=5
|
|
startretries=3
|
|
stderr_logfile=/var/log/ccs/cliproxy.log
|
|
stderr_logfile_maxbytes=0
|
|
stdout_logfile=/var/log/ccs/cliproxy.log
|
|
stdout_logfile_maxbytes=0
|
|
priority=10
|
|
|
|
[program:ccs-dashboard]
|
|
command=ccs config --host 0.0.0.0 --port 3000
|
|
directory=/root
|
|
autostart=true
|
|
autorestart=true
|
|
startsecs=10
|
|
startretries=3
|
|
stderr_logfile=/var/log/ccs/ccs-dashboard.log
|
|
stderr_logfile_maxbytes=0
|
|
stdout_logfile=/var/log/ccs/ccs-dashboard.log
|
|
stdout_logfile_maxbytes=0
|
|
priority=20
|
|
environment=HOME="/root",NODE_ENV="production"
|