Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions frameworks/laravel/10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ workers:
command: php artisan queue:work --queue=default --tries=3 --timeout=60
tune_command: php artisan queue:work --queue={queue} --tries={tries} --timeout={timeout}
restart_command: php artisan queue:restart
# The worker dies on a DNS error when the queue is Redis and lerd-redis is
# down, so lerd refuses the start with the service to run instead.
requires_service:
name: redis
when_env: QUEUE_CONNECTION=redis
restart: always
exclude_check:
composer: laravel/horizon
Expand Down
5 changes: 5 additions & 0 deletions frameworks/laravel/11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ workers:
command: php artisan queue:work --queue=default --tries=3 --timeout=60
tune_command: php artisan queue:work --queue={queue} --tries={tries} --timeout={timeout}
restart_command: php artisan queue:restart
# The worker dies on a DNS error when the queue is Redis and lerd-redis is
# down, so lerd refuses the start with the service to run instead.
requires_service:
name: redis
when_env: QUEUE_CONNECTION=redis
restart: always
exclude_check:
composer: laravel/horizon
Expand Down
5 changes: 5 additions & 0 deletions frameworks/laravel/12.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ workers:
command: php artisan queue:work --queue=default --tries=3 --timeout=60
tune_command: php artisan queue:work --queue={queue} --tries={tries} --timeout={timeout}
restart_command: php artisan queue:restart
# The worker dies on a DNS error when the queue is Redis and lerd-redis is
# down, so lerd refuses the start with the service to run instead.
requires_service:
name: redis
when_env: QUEUE_CONNECTION=redis
restart: always
exclude_check:
composer: laravel/horizon
Expand Down
5 changes: 5 additions & 0 deletions frameworks/laravel/13.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ workers:
command: php artisan queue:work --queue=default --tries=3 --timeout=60
tune_command: php artisan queue:work --queue={queue} --tries={tries} --timeout={timeout}
restart_command: php artisan queue:restart
# The worker dies on a DNS error when the queue is Redis and lerd-redis is
# down, so lerd refuses the start with the service to run instead.
requires_service:
name: redis
when_env: QUEUE_CONNECTION=redis
restart: always
exclude_check:
composer: laravel/horizon
Expand Down
5 changes: 5 additions & 0 deletions frameworks/laravel/6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ workers:
command: php artisan queue:work --queue=default --tries=3 --timeout=60
tune_command: php artisan queue:work --queue={queue} --tries={tries} --timeout={timeout}
restart_command: php artisan queue:restart
# The worker dies on a DNS error when the queue is Redis and lerd-redis is
# down, so lerd refuses the start with the service to run instead.
requires_service:
name: redis
when_env: QUEUE_CONNECTION=redis
restart: always
exclude_check:
composer: laravel/horizon
Expand Down
5 changes: 5 additions & 0 deletions frameworks/laravel/7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ workers:
command: php artisan queue:work --queue=default --tries=3 --timeout=60
tune_command: php artisan queue:work --queue={queue} --tries={tries} --timeout={timeout}
restart_command: php artisan queue:restart
# The worker dies on a DNS error when the queue is Redis and lerd-redis is
# down, so lerd refuses the start with the service to run instead.
requires_service:
name: redis
when_env: QUEUE_CONNECTION=redis
restart: always
exclude_check:
composer: laravel/horizon
Expand Down
5 changes: 5 additions & 0 deletions frameworks/laravel/8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ workers:
command: php artisan queue:work --queue=default --tries=3 --timeout=60
tune_command: php artisan queue:work --queue={queue} --tries={tries} --timeout={timeout}
restart_command: php artisan queue:restart
# The worker dies on a DNS error when the queue is Redis and lerd-redis is
# down, so lerd refuses the start with the service to run instead.
requires_service:
name: redis
when_env: QUEUE_CONNECTION=redis
restart: always
exclude_check:
composer: laravel/horizon
Expand Down
5 changes: 5 additions & 0 deletions frameworks/laravel/9.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ workers:
command: php artisan queue:work --queue=default --tries=3 --timeout=60
tune_command: php artisan queue:work --queue={queue} --tries={tries} --timeout={timeout}
restart_command: php artisan queue:restart
# The worker dies on a DNS error when the queue is Redis and lerd-redis is
# down, so lerd refuses the start with the service to run instead.
requires_service:
name: redis
when_env: QUEUE_CONNECTION=redis
restart: always
exclude_check:
composer: laravel/horizon
Expand Down