# --- Immich # photo and video management services: # immich (web-)server immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro # - "./gosia:/import" env_file: - .env ports: - "2283:2283" depends_on: - immich-redis - immich-db # common config extends: file: common.yml service: high-resource # machine learning model immich-ML: container_name: immich_ML image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} volumes: - ../immich/ML-cache:/cache env_file: - .env # common config extends: file: common.yml service: high-resource # immich redis immich-redis: container_name: immich_redis image: docker.io/valkey/valkey:8-bookworm@sha256:ff21bc0f8194dc9c105b769aeabf9585fea6a8ed649c0781caeac5cb3c247884 healthcheck: test: redis-cli ping || exit 1 # common config extends: file: common.yml service: low-resource # immich postgres database immich-db: container_name: immich_postgres image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0 env_file: - .env environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} POSTGRES_INITDB_ARGS: '--data-checksums' volumes: # - ${DB_DATA_LOCATION}:/alt - ${DB_DATA_LOCATION}:/var/lib/postgresql/data # common config extends: file: common.yml service: low-resource