diff --git a/debian/docker-compose.yml b/debian/docker-compose.yml index d8811bc..99ec2b6 100644 --- a/debian/docker-compose.yml +++ b/debian/docker-compose.yml @@ -59,6 +59,9 @@ services: environment: LARAVEL_ROLE: worker <<: *volumes + healthcheck: + test: ["CMD", "pgrep", "-f", "queue:work"] + start_period: 10s depends_on: app: condition: service_healthy @@ -74,6 +77,9 @@ services: environment: LARAVEL_ROLE: scheduler <<: *volumes + healthcheck: + test: ["CMD", "pgrep", "-f", "schedule:work"] + start_period: 10s depends_on: app: condition: service_healthy