-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (40 loc) · 1.18 KB
/
docker-compose.yml
File metadata and controls
43 lines (40 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: immich-deduper
services:
immich-deduper:
container_name: immich-deduper
hostname: immich-deduper
image: ${DEDUP_IMAGE:-razgrizhsu/immich-deduper:latest}
restart: unless-stopped
ports:
- ${DEDUP_PORT:-8086}:${DEDUP_PORT:-8086}
volumes:
- ${DEDUP_DATA}:/app/data # deduper data
- ${DEDUP_DATA}/cache:/root/.cache/torch/ # model cache
- ${IMMICH_PATH}:/immich:ro # Read-only access to Immich photos
# Optional: for separate thumbnail directory (uncomment if using IMMICH_THUMB)
# - ${IMMICH_THUMB}:/thumbs:ro
env_file:
- .env
# GPU devices (Linux + NVIDIA only). Uncomment to reserve GPU explicitly.
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: 1
# capabilities: [gpu]
depends_on:
- qdrant
networks:
- immich-deduper
qdrant:
container_name: immich-deduper-qdrant
image: qdrant/qdrant:v1.16.3
restart: unless-stopped
networks:
- immich-deduper
volumes:
- ${DEDUP_DATA}/qdrant:/qdrant/storage
networks:
immich-deduper:
external: true