2023-09-26 14:48:34 -06:00
|
|
|
[supervisord]
|
2023-10-15 16:15:25 -06:00
|
|
|
nodaemon = true
|
2023-10-15 16:50:04 -06:00
|
|
|
user=root
|
|
|
|
pidfile = /var/run/supervisord.pid
|
2023-10-15 16:15:25 -06:00
|
|
|
logfile = /var/log/app/supervisord.log
|
|
|
|
directory = /tmp
|
|
|
|
|
2023-10-15 16:50:04 -06:00
|
|
|
[unix_http_server]
|
|
|
|
file=/var/run/supervisor.sock
|
|
|
|
chmod=0770
|
|
|
|
|
|
|
|
[rpcinterface:supervisor]
|
|
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
|
2023-10-15 16:15:25 -06:00
|
|
|
[supervisorctl]
|
|
|
|
serverurl=unix:///var/run/supervisor.sock
|
2023-09-26 14:48:34 -06:00
|
|
|
|
2023-10-15 15:38:48 -06:00
|
|
|
[program:startup]
|
|
|
|
command=/app/init.sh
|
|
|
|
autostart=true
|
|
|
|
autorestart=false
|
|
|
|
startsecs=0
|
|
|
|
|
2023-09-27 16:58:49 -06:00
|
|
|
[program:vllm]
|
2023-09-27 17:00:46 -06:00
|
|
|
command=/bin/bash -c 'bash /app/start-vllm.sh 2>&1 | tee -a /var/log/app/vllm.log'
|
2023-09-26 14:48:34 -06:00
|
|
|
autostart=true
|
|
|
|
autorestart=true
|
|
|
|
stdout_logfile=/dev/fd/1
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/fd/2
|
|
|
|
stderr_logfile_maxbytes=0
|
|
|
|
user=apiserver
|
|
|
|
environment=HOME="/home/apiserver",USER="apiserver"
|
|
|
|
|
2023-09-27 16:12:36 -06:00
|
|
|
[program:rathole]
|
2023-09-28 17:02:45 -06:00
|
|
|
command=/bin/bash -c '/app/rathole -c /storage/vllm/rathole-client.toml 2>&1 | tee -a /var/log/app/rathole.log'
|
2023-09-26 14:48:34 -06:00
|
|
|
autostart=true
|
|
|
|
autorestart=true
|
|
|
|
stdout_logfile=/dev/fd/1
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/fd/2
|
|
|
|
stderr_logfile_maxbytes=0
|
|
|
|
user=apiserver
|
|
|
|
environment=HOME="/home/apiserver",USER="apiserver"
|
|
|
|
|
|
|
|
[program:jupyter]
|
2023-10-15 16:05:14 -06:00
|
|
|
command=/jupyterlab/bin/jupyter lab --allow-root --ip=0.0.0.0 --no-browser --ServerApp.trust_xheaders=True --ServerApp.disable_check_xsrf=False --ServerApp.allow_remote_access=True --ServerApp.allow_origin='*' --ServerApp.allow_credentials=True --notebook-dir /notebooks
|
2023-09-28 17:02:45 -06:00
|
|
|
environment=SHELL="/bin/bash"
|
2023-10-09 18:18:29 -06:00
|
|
|
autostart=true
|
|
|
|
autorestart=true
|
|
|
|
stdout_logfile=/dev/fd/1
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/fd/2
|
|
|
|
stderr_logfile_maxbytes=0
|
2023-09-26 21:45:13 -06:00
|
|
|
|
|
|
|
[program:ssh]
|
2023-09-27 16:57:14 -06:00
|
|
|
command=/usr/sbin/sshd -D
|
2023-10-09 18:18:29 -06:00
|
|
|
autostart=true
|
|
|
|
autorestart=true
|
|
|
|
stdout_logfile=/dev/fd/1
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/fd/2
|
|
|
|
stderr_logfile_maxbytes=0
|