[supervisord] nodaemon=true [unix_http_server] file=/var/run/supervisor.sock [rpcinterface:supervisor] supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface [program:web] priority=4 user=app environment=HOME="/home/%(ENV_APP_USER)s",USER="%(ENV_APP_USER)s" directory=%(ENV_APP_PATH)s command=./docker/web autorestart=true stderr_logfile = /dev/stderr stdout_logfile = /dev/stdout stdout_logfile_maxbytes = 0 stderr_logfile_maxbytes = 0 [program:worker] priority=5 user=app environment=HOME="/home/%(ENV_APP_USER)s",USER="%(ENV_APP_USER)s" directory=%(ENV_APP_PATH)s command=./docker/worker startretries=10 autorestart=true stderr_logfile = /dev/stderr stdout_logfile = /dev/stdout stdout_logfile_maxbytes = 0 stderr_logfile_maxbytes = 0 [program:memcached] priority=100 user=app environment=HOME="/home/%(ENV_APP_USER)s",USER="%(ENV_APP_USER)s" command=/usr/bin/memcached autorestart=true stderr_logfile = /dev/stderr stdout_logfile = /dev/stdout stdout_logfile_maxbytes = 0 stderr_logfile_maxbytes = 0 [program:cron] priority=100 user=app environment=HOME="/home/%(ENV_APP_USER)s",USER="%(ENV_APP_USER)s" directory=%(ENV_APP_PATH)s command=./docker/cron autostart=false autorestart=true stderr_logfile = /dev/stderr stdout_logfile = /dev/stdout stdout_logfile_maxbytes = 0 stderr_logfile_maxbytes = 0 [program:apache2] priority=2 directory=%(ENV_APP_PATH)s command=./docker/proxy stderr_logfile = /dev/stderr stdout_logfile = /dev/stdout stdout_logfile_maxbytes = 0 stderr_logfile_maxbytes = 0 [program:postfix] priority=100 directory=/etc/postfix command=/usr/sbin/postfix -c /etc/postfix start startsecs=0 autorestart=false stderr_logfile = /dev/stderr stdout_logfile = /dev/stdout stdout_logfile_maxbytes = 0 stderr_logfile_maxbytes = 0 [program:postgres] user=postgres priority=1 command=/usr/lib/postgresql/9.6/bin/postgres -D %(ENV_PGDATA)s -c config_file=/etc/postgresql/9.6/main/postgresql.conf autorestart=true stderr_logfile = /dev/stderr stdout_logfile = /dev/stdout stdout_logfile_maxbytes = 0 stderr_logfile_maxbytes = 0