Prepare for Docker deployment

This commit is contained in:
2025-11-23 11:32:48 -07:00
parent 7b34cb0340
commit 7e11b2d531
3 changed files with 18 additions and 25 deletions

View File

@@ -1,23 +1,17 @@
services:
immich-drop:
image-drop:
build: .
container_name: immich-drop
container_name: image-drop
restart: unless-stopped
ports:
- "8080:8080"
env_file:
- .env
volumes:
- immich_drop_data:/data
- ./data:/image_drop/data
healthcheck:
test: ["CMD-SHELL", "python - <<'PY'\nimport urllib.request,sys\ntry:\n urllib.request.urlopen('http://localhost:8080/').read(); sys.exit(0)\nexcept Exception:\n sys.exit(1)\nPY"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
volumes:
immich_drop_data: