提交 99908fc1 authored 作者: testing's avatar testing

fix

上级 2bb77912
FROM php:7.4.30-fpm-alpine3.15
#FROM php:7.4.30-cli-alpine
#FROM php:7.4.30-fpm-alpine3.15
FROM php:7.4.30-cli-alpine
LABEL maintainer="Ric Harvey <ric@squarecows.com>"
......@@ -90,7 +90,7 @@ RUN mkdir -p "/etc/supervisor/logs"
# copy in code
ADD src/ /var/www/html/
ADD errors/ /var/www/errors
ADD conf/supervisord.conf /etc/supervisor/supervisord.conf
ADD conf/supervisord_worker.conf /etc/supervisor/supervisord.conf
......
[unix_http_server]
file=/dev/shm/supervisor.sock ; (the path to the socket file)
[supervisord]
logfile=/tmp/supervisord.log ; (main log file;default $CWD/supervisord.log)
logfile_maxbytes=50MB ; (max main logfile bytes b4 rotation;default 50MB)
logfile_backups=10 ; (num of main logfile rotation backups;default 10)
loglevel=info ; (log level;default info; others: debug,warn,trace)
pidfile=/tmp/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
nodaemon=false ; (start in foreground if true;default false)
minfds=1024 ; (min. avail startup file descriptors;default 1024)
minprocs=200 ; (min. avail process descriptors;default 200)
user=root ;
; the below section must remain in the config file for RPC
; (supervisorctl/web interface) to work, additional interfaces may be
; added by defining them in separate rpcinterface: sections
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///dev/shm/supervisor.sock ; use a unix:// URL for a unix socket
[include]
files = /etc/supervisor/conf.d/*.conf
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论