Files
investbrain/docker/supervisord.conf
T

41 lines
955 B
Plaintext
Raw Normal View History

2024-09-04 17:48:40 -05:00
[supervisord]
nodaemon=true
user=root
logfile=/var/log/supervisor/supervisord.log
pidfile=/var/run/supervisord.pid
2025-01-25 18:09:02 -06:00
[program:nginx]
command=nginx -g 'daemon off;'
autostart=true
autorestart=true
stderr_logfile=/var/log/nginx/error.log
stdout_logfile=/var/log/nginx/access.log
2024-09-04 17:48:40 -05:00
[program:php]
command=php-fpm -F
autostart=true
autorestart=true
stdout_logfile=/var/log/supervisor/php.log
stderr_logfile=/var/log/supervisor/php_error.log
[program:scheduler]
2024-09-04 19:09:49 -05:00
command=php artisan schedule:work
2024-09-04 17:48:40 -05:00
autorestart=true
redirect_stderr=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:queue-worker]
2024-09-04 19:09:49 -05:00
command=php artisan queue:work --sleep=3 --tries=1 --memory=256 --timeout=3600
2024-09-04 17:48:40 -05:00
process_name=%(program_name)s_%(process_num)02d
autorestart=true
redirect_stderr=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
numprocs=2
[supervisorctl]