To use this container, you will need to provide a supervisor configuration file supervisord.conf.
docker run -d \
-v ./config/supervisord.conf:/etc/supervisor/supervisord.conf \
helpdeskgroup/supervisor
In the above example we assume that:
supervisord.conf configration file into the containersupervisord.conf should contain at least backend definition like this:[supervisord]
nodaemon=true
[program:yourprogram1]
command=/bin/ash -c "/path/to/your/program"
autorestart=true
[program:yourprogram2]
command=/bin/ash -c "/path/to/your/program"
autorestart=true
You can configure Supervisor daemon by following env variables:
* SUPERVISOR_CONF_FILE /etc/supervisor/supervisord.conf
Content type
Image
Digest
Size
15.3 MB
Last updated
over 8 years ago
docker pull helpdeskgroup/supervisor