Update Docker configuration for test environment and add logging server

This commit is contained in:
netkas 2025-03-14 15:25:06 -04:00
parent 0764ca9bde
commit dc65836b8b
Signed by: netkas
GPG key ID: 4D8629441B76E4CC
5 changed files with 20 additions and 9 deletions

View file

@ -10,6 +10,20 @@ nodaemon=true
minfds=1024
minprocs=200
[program:logger]
command=python3 -m /logger.py --port 5131
autostart=true
autorestart=true
priority=1
stdout_events_enabled=true
stderr_events_enabled=true
stdout_logfile=/var/log/socialbox.log
stderr_logfile=/var/log/socialbox_error.log
stdout_logfile_maxbytes=20MB
stdout_logfile_backups=5
stderr_logfile_maxbytes=20MB
stderr_logfile_backups=5
[program:php-fpm]
command=/usr/local/sbin/php-fpm --nodaemonize
autostart=true
@ -22,11 +36,6 @@ stdout_logfile_backups=5
stderr_logfile_maxbytes=0
stderr_logfile_backups=5
[program:php-fpm-log]
command=tail -f /var/log/fpm.log /var/log/fpm_error.log
stdout_events_enabled=true
stderr_events_enabled=true
[program:nginx]
command=/usr/sbin/nginx -g "daemon off;" -c /etc/nginx/nginx.conf
autostart=true