random-web-tools/docker/conf/etc/supervisor/supervisord.conf
stuzer05 25d043da6b
Some checks failed
build docker image / docker-build (push) Failing after 1m4s
Add docker deployment
2024-11-05 11:03:22 +02:00

29 lines
652 B
Plaintext

[supervisord]
nodaemon=true
user=root
logfile=/dev/stdout
logfile_maxbytes=0
pidfile=/var/run/supervisord.pid
[supervisorctl]
[group:webserver]
programs=webserver-nginx,webserver-phpfpm
[program:webserver-nginx]
command=/usr/sbin/nginx -g 'daemon off;'
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:webserver-phpfpm]
command=/usr/local/sbin/php-fpm --nodaemonize --fpm-config /usr/local/etc/php-fpm.d/www.conf
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0