collection.dockerfile/alpine/fpmredis/supervisord.conf

25 lines
733 B
Plaintext
Raw Normal View History

2022-01-17 15:56:05 +08:00
[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
[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-fpm8 -c /etc/php8/php-fpm.conf -F
stderr_logfile = /var/log/supervisord-fpm.err
stdout_logfile = /var/log/supervisord-fpm.log