- Introduced healthcheck settings for services in both docker-compose.yml and docker-compose-all-immich.yml. - Configured healthcheck to verify service availability by checking the health endpoint at http://localhost:3000/api/health.
17 lines
402 B
YAML
17 lines
402 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
immich_power_tools:
|
|
container_name: immich_power_tools
|
|
image: ghcr.io/varun-raj/immich-power-tools:latest
|
|
ports:
|
|
- "3000:3000"
|
|
env_file:
|
|
- .env
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/api/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|