version: "3.8" services: immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:v1.85.0@sha256:b4c9bc6778a142d9ee1ef61c30a498dc2e84d3aabb50a7d4516d9af346db2743 command: ["start.sh", "immich"] volumes: - library:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro env_file: - stack.env depends_on: - redis - database - typesense restart: always networks: - immich immich-microservices: container_name: immich_microservices image: ghcr.io/immich-app/immich-server:v1.85.0@sha256:b4c9bc6778a142d9ee1ef61c30a498dc2e84d3aabb50a7d4516d9af346db2743 command: ["start.sh", "microservices"] volumes: - library:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro env_file: - stack.env depends_on: - redis - database - typesense restart: always networks: - immich immich-machine-learning: container_name: immich_machine_learning image: ghcr.io/immich-app/immich-machine-learning:v1.85.0@sha256:1fc3e645169ada10d73b6a740434b5821f19003d436a8aeb7a5b9482c9b2f704 volumes: - model-cache:/cache env_file: - stack.env restart: always networks: - immich immich-web: container_name: immich_web image: ghcr.io/immich-app/immich-web:v1.85.0@sha256:10778b177594390e1a9ec0d5e80150fb9c6855ff964a7ceb2eded4728abaa821 env_file: - stack.env restart: always networks: - immich typesense: container_name: immich_typesense image: typesense/typesense:0.25.1@sha256:035ccfbc3fd8fb9085ea205fdcb62de63eaefdbebd710e88e57f978a30f2090d environment: - TYPESENSE_API_KEY=${TYPESENSE_API_KEY} - TYPESENSE_DATA_DIR=/data # remove this to get debug messages - GLOG_minloglevel=1 volumes: - tsdata:/data restart: always networks: - immich redis: container_name: immich_redis image: redis:6.2-alpine@sha256:3995fe6ea6a619313e31046bd3c8643f9e70f8f2b294ff82659d409b47d06abb restart: always networks: - immich database: container_name: immich_postgres image: postgres:14-alpine@sha256:874f566dd512d79cf74f59754833e869ae76ece96716d153b0fa3e64aec88d92 env_file: - stack.env environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} volumes: - pgdata:/var/lib/postgresql/data restart: always networks: - immich immich-proxy: container_name: immich_proxy image: ghcr.io/immich-app/immich-proxy:v1.85.0@sha256:80e290eefe53271738cc6558b5b51296ac1cde94f1144eed873c61817a764928 environment: # Make sure these values get passed through from the env file - IMMICH_SERVER_URL - IMMICH_WEB_URL - LETSENCRYPT_HOST=${IMMICH_HOST:?} - VIRTUAL_HOST=${IMMICH_HOST:?} - VIRTUAL_PORT=${IMMICH_PORT:-8080} depends_on: - immich-server - immich-web restart: always networks: - net - immich volumes: pgdata: model-cache: tsdata: library: networks: net: external: true immich: