Commit c49cdc57 authored by BERJON Matthieu's avatar BERJON Matthieu
Browse files

Add of the Supervisor configuration

I created the Supervisor configuration file. At the moment, the
configuration hasn't been tested because of the incompatibilities of
Supervisor with Python 3. It still needs to be resolved.

The configuration has been copied from Rails and adapted to run a Django
application and later on a Redis cache system (commented at the moment).

Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <>
parent 28e2b935
; supervisor config file
file=/vol/cache/supervisor.sock ; (the path to the socket file)
chmod=0700 ; socket file mode (default 0700)
childlogdir=/vol/log/supervisor ; ('AUTO' child log dir, default $TEMP)
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
serverurl=unix:///vol/cache/supervisor.sock ; use a unix:// URL for a unix socket
;command=/usr/bin/redis-server /etc/redis/redis.conf
command=gunicorn allgo.wsgi:application -w 2 -b :4000
command=nginx -g "daemon off;"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment