feat: immich app

This commit is contained in:
Hane 2026-06-15 15:49:39 +02:00
commit b560161cff
2 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,34 @@
---
name: immich
services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:v2.7.5
restart: unless-stopped
volumes:
- ${IMMICH_UPLOAD_LOCATION:-/mnt/nas1/shared/immich}:/data
environment:
TZ: ${IMMICH_TZ:-Europe/Madrid}
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:v2.7.5
ports:
- "3003:3003"
volumes:
- ${IMMICH_ML_MODEL_CACHE_LOCATION:-/mnt/nas1/shared/immich-model-cache}:/cache
restart: unless-stopped

16
docker/immich/sample.env Normal file
View file

@ -0,0 +1,16 @@
IMMICH_UPLOAD_LOCATION=/mnt/nas1/shared/immich
IMMICH_TZ=Europe/Madrid
IMMICH_DB_HOSTNAME=192.168.1.3
IMMICH_DB_PORT=55432
IMMICH_DB_USERNAME=
IMMICH_DB_PASSWORD=
IMMICH_DB_DATABASE_NAME=
IMMICH_REDIS_HOSTNAME=192.168.1.3
IMMICH_REDIS_PORT=300036
IMMICH_REDIS_USERNAME=
IMMICH_REDIS_PASSWORD=
IMMICH_REDIS_DBINDEX=
IMMICH_ML_MODEL_CACHE_LOCATION=/mnt/nas1/shared/immich-model-cache