Docker-Image-Nginx-PHP/supervisord.conf

17 lines
313 B
Plaintext

[supervisord]
nodaemon=true
[program:nginx]
command=nginx -g "daemon off;"
autostart=true
autorestart=true
stdout_logfile=/var/log/nginx/access.log
stderr_logfile=/var/log/nginx/error.log
[program:php-fpm]
command=bash -c "service php8.1-fpm start"
autostart=true
autorestart=true
startsecs=100
[supervisorctl]