2017-02-13 00:13:15 +03:00
[supervisord]
umask = 022
minfds = 4096
nodaemon=true
[program:celeryd]
2017-10-10 19:34:49 +03:00
command = celery worker -A awx -l DEBUG -B --autoscale=20,3 -Ofair -s /var/lib/awx/beat.db -Q tower_broadcast_all -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: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
2017-12-06 07:46:18 +03:00
[program:jupyter]
command = make jupyter
autostart = true
autorestart = true
redirect_stderr=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
2017-07-18 18:16:18 +03:00
[group:awx-processes]
2017-06-19 22:33:24 +03:00
programs=celeryd,receiver,runworker,uwsgi,daphne,nginx,flower
2017-02-13 00:13:15 +03:00
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