Start docker-compose with supervisor
Start docker-compose with supervisor. How manager docker-compose application with supervisor. Easy. sudo nano /etc/supervisor/cond.d/app.conf [supervisord] nodaemon=false environment=HOME=”/usr/bin/”,USER=”username” [program:app] command=docker-compose up process_name=%(program_name)s ; process_name expr (default %(program_name)s) numprocs=1 ; number of processes copies to start (def 1) directory=/docker-compose/app ; directory to cwd to before exec (def no cwd) priority=1000 ; the relative start priority (default 999) […]