From 9fd9152296cce6d57ba58697eb5d96773f40e551 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 12 Nov 2025 15:11:32 +1100 Subject: [PATCH] updated health checks --- docker-compose.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6d68a839d..f482b9038 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -83,7 +83,7 @@ services: dockerfile: Dockerfile container_name: pixelfed-horizon restart: unless-stopped - command: ["php", "/var/www/html/artisan", "horizon"] + command: ["php", "artisan", "horizon"] env_file: - .env environment: @@ -102,6 +102,11 @@ services: depends_on: - db - redis + healthcheck: + test: ["CMD", "php", "artisan", "horizon:status"] + interval: 10s + timeout: 5s + retries: 3 networks: - pixelfed-network @@ -111,7 +116,7 @@ services: dockerfile: Dockerfile container_name: pixelfed-scheduler restart: unless-stopped - command: ["php", "/var/www/html/artisan", "schedule:work"] + command: ["php", "artisan", "schedule:work"] stop_signal: SIGTERM env_file: - .env