version: "2.4" services: immich: container_name: immich image: ghcr.io/imagegenius/immich pids_limit: 2048 ports: - '8080:8080' environment: - TZ=Europe/Berlin - DB_HOSTNAME=postgresql14 - DB_USERNAME=postgres - DB_PASSWORD=rabenNest7$ - DB_DATABASE_NAME=postgres - REDIS_HOSTNAME=redis - DB_PORT=5432 - REDIS_PORT=6379 - REDIS_PASSWORD= - MACHINE_LEARNING_GPU_ACCELERATION= - MACHINE_LEARNING_WORKERS=1 - MACHINE_LEARNING_WORKER_TIMEOUT=120 - PUID=0 - PGID=0 - UMASK=022 networks: DMZ: ipv4_address: 10.10.12.23 db_proxy: volumes: - immich_data:/config:rw - immich_photos:/photos:rw - immich_photos_import:/import:rw dns: - 1.1.1.1 restart: unless-stopped volumes: immich_data: external: true immich_photos: external: true immich_photos_import: external: true networks: DMZ: external: true name: DMZ db_proxy: external: true name: db_proxy