feat: remove horizon
This commit is contained in:
+14
-3
@@ -73,15 +73,26 @@ services:
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
|
||||
horizon:
|
||||
worker:
|
||||
<<: *app-service
|
||||
container_name: daily-meal-api-horizon
|
||||
container_name: daily-meal-api-worker
|
||||
healthcheck:
|
||||
disable: true
|
||||
depends_on:
|
||||
app:
|
||||
condition: service_healthy
|
||||
command: ["php", "artisan", "horizon"]
|
||||
command:
|
||||
[
|
||||
"php",
|
||||
"artisan",
|
||||
"queue:work",
|
||||
"redis",
|
||||
"--sleep=3",
|
||||
"--tries=1",
|
||||
"--timeout=60",
|
||||
"--memory=128",
|
||||
"--max-time=3600",
|
||||
]
|
||||
|
||||
scheduler:
|
||||
<<: *app-service
|
||||
|
||||
Reference in New Issue
Block a user