collection.dockerfile/alpine/fpmredis/supervisord.conf
2024-09-24 19:49:15 +08:00

26 lines
749 B
Plaintext

[unix_http_server]
file=/run/supervisord.sock ; (the path to the socket file)
[supervisord]
logfile=/var/log/supervisord.log ; (main log file;default $CWD/supervisord.log)
loglevel=error
logfile_maxbytes=10MB
logfile_backups=7
user=root
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///run/supervisord.sock ; use a unix:// URL for a unix socket
#[program:redis]
#command=redis-server
#stderr_logfile = /var/log/supervisord-redis.err
#stdout_logfile = /var/log/supervisord-redis.log
[program:phpfpm]
command=/usr/sbin/php-fpm82 -c /etc/php82/php-fpm.conf -F
stderr_logfile = /var/log/supervisord-fpm.err
stdout_logfile = /var/log/supervisord-fpm.log