mirror of
https://github.com/10h30/v2ray-nginx-docker.git
synced 2026-07-11 10:46:09 +09:00
27 lines
773 B
Plaintext
27 lines
773 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
logfile=/var/log/supervisord.log
|
|
pidfile=/run/supervisord.pid
|
|
|
|
[program:v2ray]
|
|
command=v2ray -config=/etc/v2ray/config.json
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
redirect_stderr=true
|
|
autorestart=false
|
|
startretries=0
|
|
|
|
[program:nginx]
|
|
command=nginx -g 'daemon off;'
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
redirect_stderr=true
|
|
autorestart=false
|
|
startretries=0
|
|
|
|
# The below configure can be applied when Docker orchestrator like Docker Swarm or K8S is used.
|
|
# By default, supervisor will attempt to restart a failed process.
|
|
# Refer to http://supervisord.org/configuration.html for more info.
|
|
#[eventlistener:processes]
|
|
#command=stop-supervisor.sh
|
|
#events=PROCESS_STATE_STOPPED, PROCESS_STATE_EXITED, PROCESS_STATE_FATAL |