fukuops/docker/immich/docker-compose.yml
2026-06-15 15:49:39 +02:00

36 lines
1.2 KiB
YAML

---
name: immich
services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-pr-27764}
restart: unless-stopped
volumes:
- ${IMMICH_UPLOAD_LOCATION:-/mnt/nas1/shared/immich}:/data
environment:
TZ: ${IMMICH_TZ:-Europe/Madrid}
IMMICH_VERSION: ${IMMICH_IMMICH_VERSION:-v2}
DB_HOSTNAME: ${IMMICH_DB_HOSTNAME}
DB_PORT: ${IMMICH_DB_PORT}
DB_USERNAME: ${IMMICH_DB_USERNAME}
DB_PASSWORD: ${IMMICH_DB_PASSWORD}
DB_DATABASE_NAME: ${IMMICH_DB_DATABASE_NAME}
REDIS_HOSTNAME: ${IMMICH_REDIS_HOSTNAME}
REDIS_PORT: ${IMMICH_REDIS_HOSTNAME}
REDIS_USERNAME: ${IMMICH_REDIS_USERNAME}
REDIS_PASSWORD: ${IMMICH_REDIS_PASSWORD}
REDIS_DBINDEX: ${IMMICH_REDIS_DBINDEX}
ports:
- '2283:2283'
immich-machine-learning:
container_name: immich_machine_learning
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-pr-28934}
ports:
- "3003:3003"
volumes:
- ${MODEL_CACHE_LOCATION:-/mnt/nas1/shared/immich-model-cache}:/cache
environment:
IMMICH_VERSION: ${IMMICH_IMMICH_VERSION:-v2}
restart: unless-stopped