random-web-tools/docker/conf/etc/supervisor/supervisord.conf
stuzer05 77364f8e25
Some checks failed
build docker image / docker-build (push) Has been cancelled
Add docker deployment
2024-11-04 16:45:27 +02:00

30 lines
676 B
Plaintext

[supervisord]
logfile=/var/log/supervisord.log
logfile_maxbytes=50MB
childlogdir=/var/log
pidfile=/var/run/supervisord.pid
nodaemon=true
user=root
[supervisorctl]
[program:misc-rsyslog]
command=/usr/sbin/rsyslogd -n
autostart=true
autorestart=true
stdout_logfile=/var/log/supervisor/%(program_name)s.log
stderr_logfile=/var/log/supervisor/%(program_name)s.log
[group:webserver]
programs=webserver-nginx,webserver-phpfpm
[program:webserver-nginx]
command=/usr/sbin/nginx -g 'daemon off;'
autostart=true
autorestart=true
[program:webserver-phpfpm]
command=/usr/local/sbin/php-fpm --nodaemonize --fpm-config /usr/local/etc/php-fpm.d/www.conf
autostart=true
autorestart=true