This repository has been archived on 2025-06-09. You can view files and clone it, but cannot push or open issues or pull requests.
LaravelDockerPublisher/docker/supervisord.conf

23 lines
498 B
Plaintext
Raw Normal View History

2025-05-29 11:23:06 +08:00
[supervisord]
nodaemon=true
[program:php-fpm]
command=docker-php-entrypoint php-fpm
autostart=true
autorestart=true
priority=1
[program:queue-worker]
directory=/var/www/html
command=php artisan queue:work redis --daemon --timeout=3600 --tries=1 --queue=default
autostart=true
autorestart=true
priority=2
stdout_logfile=/var/www/html/storage/logs/queue.log
stderr_logfile=/var/www/html/storage/logs/queue_error.log
[program:schedule-run]
command=cron -f
autostart=true
autorestart=true
priority=3