Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RUN apk add --no-cache supervisor
- COPY supervisord.conf /etc/supervisord.conf
- CMD ["supervisord"]
- # /etc/supervisord.conf
- [supervisord]
- nodaemon=true
- [program:nginx]
- command=/usr/sbin/nginx
- autostart=true
- autorestart=true
- stdout_logfile=/dev/stdout
- stdout_logfile_maxbytes=0
- stderr_logfile=/dev/stderr
- stderr_logfile_maxbytes=0
- [program:php-fpm]
- command=/usr/local/sbin/php-fpm
- autostart=true
- autorestart=true
- stdout_logfile=/dev/stdout
- stdout_logfile_maxbytes=0
- stderr_logfile=/dev/stderr
- stderr_logfile_maxbytes=0
- [unix_http_server]
- file=/var/run/supervisor.sock
- chmod=0700
- [rpcinterface:supervisor]
- supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
- [supervisorctl]
- serverurl=unix:///var/run/supervisor.sock
Add Comment
Please, Sign In to add comment