© 2026 Hedgehog Software, LLC
--- version: "2.1" services: immich: image: ghcr.io/imagegenius/immich:latest container_name: immich environment: - PUID=1024 - PGID=100 - TZ=Etc/UTC - DB_HOSTNAME=192.168.1.155 - DB_USERNAME=postgres - DB_PASSWORD=postgres - DB_DATABASE_NAME=immich - REDIS_HOSTNAME=192.168.1.155 - DISABLE_MACHINE_LEARNING=false #optional - DISABLE_TYPESENSE=false #optional - DB_PORT=5433 #optional - REDIS_PORT=6379 #optional - REDIS_PASSWORD= #optional - CUDA_ACCELERATION=false #optional volumes: - /srv/dev-disk-by-uuid-a57de696-00f9-4d1c-9875-095adccf71ba/Stuff/.config/immich/config:/config - /srv/dev-disk-by-uuid-a57de696-00f9-4d1c-9875-095adccf71ba/Stuff/Media/Raw:/existing-photos - /srv/dev-disk-by-uuid-a57de696-00f9-4d1c-9875-095adccf71ba/Stuff/Media/Raw/Immich:/photos - /srv/dev-disk-by-uuid-a57de696-00f9-4d1c-9875-095adccf71ba/Stuff/.config/immich/machine-learning:/config/machine-learning #optional ports: - 8085:8080 deploy: resources: limits: memory: 3G restart: unless-stopped # This container requires an external application to be run separately to be run separately. # Redis: immich-redis: image: redis ports: - 6379:6379 container_name: immich-redis restart: unless-stopped # PostgreSQL 14: immich-postgres: image: postgres:14 ports: - 5433:5432 container_name: immich-postgres environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres POSTGRES_DB: immich restart: unless-stopped volumes: - /srv/dev-disk-by-uuid-a57de696-00f9-4d1c-9875-095adccf71ba/Stuff/.config/immich/data:/var/lib/postgresql/data