Table of Contents

What is Supervisord?

About

supervisord is a process manager that:

Example

[supervisord]
logfile=/dev/stdout 
logfile_maxbytes=0  
loglevel=info
pidfile=/tmp/supervisord.pid
nodaemon=true
user=root

[unix_http_server]
file=/tmp/supervisor.sock

[program:foo]
command=/app/foo

[program:bar]
command=/app/bar -i
RUN apt-get update && \
    apt-get install -y \
        supervisor \
        otherpackage

ADD supervisor.conf /app/
CMD supervisord -c /app/supervisor.conf