2017-02-13 00:13:15 +03:00
[supervisord]
umask = 022
minfds = 4096
nodaemon=true
[program:celeryd]
2018-04-20 21:53:21 +03:00
command = celery worker -A awx -l DEBUG -B -Ofair --autoscale=100,4 -s /var/lib/awx/beat.db --pidfile /tmp/celery_pid
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-05-03 22:19:12 +03:00
command = python manage.py runworker
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