updated health checks

pull/6331/head
Your Name 3 days ago
parent 6b46007a4e
commit 9fd9152296

@ -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

Loading…
Cancel
Save