2017-02-13 00:13:15 +03:00
[supervisord]
umask = 022
minfds = 4096
nodaemon=true
[program:celeryd]
2017-02-13 19:45:11 +03:00
command = python manage.py celeryd -l DEBUG -B --autoreload --autoscale=20,3 --schedule=/celerybeat-schedule -Q projects,jobs,default,scheduler,broadcast_all,%(ENV_HOSTNAME)s -n celery@%(ENV_HOSTNAME)s
2017-02-13 00:13:15 +03:00
autostart = true
autorestart = true
redirect_stderr=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
[program:receiver]
2017-02-13 19:45:11 +03:00
command = python manage.py run_callback_receiver
2017-02-13 00:13:15 +03:00
autostart = true
autorestart = true
redirect_stderr=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
[program:runworker]
2017-02-13 19:45:11 +03:00
command = python manage.py runworker --only-channels websocket.*
2017-02-13 00:13:15 +03:00
autostart = true
autorestart = true
redirect_stderr=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
[program:uwsgi]
command = make uwsgi
autostart = true
autorestart = true
redirect_stderr=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
[program:daphne]
2017-02-13 19:45:11 +03:00
command = daphne -b 0.0.0.0 -p 8051 awx.asgi:channel_layer
2017-02-13 00:13:15 +03:00
autostart = true
autorestart = true
redirect_stderr=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
[program:factcacher]
2017-02-13 19:45:11 +03:00
command = python manage.py run_fact_cache_receiver
2017-02-13 00:13:15 +03:00
autostart = true
autorestart = true
redirect_stderr=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
[program:nginx]
2017-02-13 19:45:11 +03:00
command = nginx -g "daemon off;"
2017-02-13 00:13:15 +03:00
autostart = true
autorestart = true
redirect_stderr=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
[program:flower]
command = make flower
autostart = true
autorestart = true
redirect_stderr=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
[group:tower-processes]
programs=celeryd,receiver,runworker,uwsgi,daphne,factcacher,nginx,flower
priority=5
2017-02-14 01:33:28 +03:00
[unix_http_server]
file=/tmp/supervisor.sock
[supervisorctl]
serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL for a unix socket
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface