chore(docker): 更新docker配置

This commit is contained in:
2025-12-02 11:10:00 +08:00
parent e4ccbbcbd1
commit ae7cfebb44
3 changed files with 10 additions and 27 deletions

View File

@@ -8,18 +8,22 @@ pidfile=/var/run/supervisord.pid
[program:php-fpm]
command=php-fpm
directory=/var/www/html
autostart=true
autorestart=true
startretries=3
startsecs=1
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopasgroup=true
killasgroup=true
stdout_logfile=/var/log/supervisor/php-fpm.log
stdout_logfile_maxbytes=10MB
stdout_logfile_backups=10
stderr_logfile=/var/log/supervisor/php-fpm-error.log
stderr_logfile_maxbytes=10MB
stderr_logfile_backups=10
[program:think-cron]
command=php /var/www/html/think cron:schedule
environment=APP_ENV=development
process_name=%(program_name)s_%(process_num)02d
numprocs=1
directory=/var/www/html