services: immich_server: image: ghcr.io/immich-app/immich-server:release container_name: immich_server user: "1028:100" environment: TZ: Australia/Melbourne IMMICH_VERSION: release DB_USERNAME: postgres DB_PASSWORD: postgres DB_DATABASE_NAME: immich DB_HOST: database DB_PORT: 5432 REDIS_HOST: redis REDIS_PORT: 6379 MACHINE_LEARNING_URL: http://immich_machine_learning:3003 # ✅ Updated paths to match mounted volumes UPLOAD_LOCATION: /data/upload LIBRARY_LOCATION: /data/library BACKUP_LOCATION: /data/backups ENCODED_VIDEO_LOCATION: /data/encoded-video PROFILE_LOCATION: /data/profile THUMB_LOCATION: /data/thumbs # ✅ Disable watches explicitly IMMICH_DISABLE_UPLOAD_WATCH: true IMMICH_DISABLE_LIBRARY_WATCH: true IMMICH_DISABLE_BACKUP_WATCH: true IMMICH_DISABLE_ENCODED_VIDEO_WATCH: true IMMICH_DISABLE_PROFILE_WATCH: true IMMICH_DISABLE_THUMB_WATCH: true ports: - "2283:2283" volumes: - /home/ravin/immich/photos:/usr/src/app/photos - /home/ravin/immich/setup/encoded-video:/data/encoded-video - /home/ravin/immich/setup/library:/data/library - /home/ravin/immich/setup/upload:/data/upload - /home/ravin/immich/setup/profile:/data/profile - /home/ravin/immich/setup/thumbs:/data/thumbs - /home/ravin/immich/setup/backups:/data/backups - ./npm-cache:/.npm depends_on: database: condition: service_healthy redis: condition: service_healthy networks: - immich_net database: image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0 container_name: database environment: POSTGRES_DB: immich POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres volumes: - ./postgres:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 5s timeout: 5s retries: 5 networks: - immich_net redis: image: valkey/valkey:8-bookworm container_name: redis healthcheck: test: ["CMD", "redis-cli", "ping"] interval: 5s timeout: 3s retries: 5 networks: - immich_net immich_machine_learning: image: ghcr.io/immich-app/immich-machine-learning:release container_name: immich_machine_learning volumes: - ./ml-models:/root/.cache restart: unless-stopped networks: - immich_net networks: immich_net: driver: bridge