; Generic supervisor config file used by the flows. ; Do not use this file if you want to use custom supervisor configuration like more workers, decider, numprocs, etc. ; Refer to entrypoint.sh to use custom supervisor file. [supervisord] logfile = /dev/null logfile_maxbytes = 0 loglevel = info pidfile = /var/tmp/supervisord.pid nodaemon = true minfds = 1024 minprocs = 200 umask = 022 directory = /tmp childlogdir = /tmp [program:decider] directory=/var/app ; GARCON_FLOW_NAME is expected to be set as the environment variable command=ddtrace-run garcon decider %(ENV_GARCON_FLOW_NAME)s autorestart=True process_name=%(program_name)s_%(process_num)02d numprocs=1 startsecs=5 stdout_logfile=/tmp/logpipe stdout_logfile_maxbytes=0 stderr_logfile=/tmp/logpipe stderr_logfile_maxbytes=0 [program:worker] directory=/var/app ; GARCON_FLOW_NAME is expected to be set as the environment variable command=ddtrace-run garcon worker %(ENV_GARCON_FLOW_NAME)s autorestart=True process_name=%(program_name)s_%(process_num)02d numprocs=5 startsecs=5 stdout_logfile=/tmp/logpipe stdout_logfile_maxbytes=0 stderr_logfile=/tmp/logpipe stderr_logfile_maxbytes=0 [inet_http_server] port = 127.0.0.1:9001 [rpcinterface:supervisor] supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface [supervisorctl] serverurl=http://localhost:9001