Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- My docker compose is:
- version: "3.8"
- name: immich
- services:
- immich-server:
- container_name: immich_server
- image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
- #command: [ "start.sh", "immich" ]
- volumes:
- - ${UPLOAD_LOCATION}/library:/usr/src/app/upload/library
- - ${UPLOAD_LOCATION}/upload:/usr/src/app/upload/upload
- - ${UPLOAD_LOCATION}/encoded-video:/usr/src/app/upload/encoded-video
- - ${UPLOAD_LOCATION}/immich-go:/usr/src/app/upload/immich-go
- - ${UPLOAD_LOCATION}/profile:/usr/src/app/upload/profile
- - ${UPLOAD_LOCATION}/backups:/usr/src/app/upload/backups
- - ${APPDATA_LOCATION}/thumbs:/usr/src/app/upload/thumbs
- - /mnt/user/Pictures:/usr/src/app/upload/source
- env_file:
- - .env
- ports:
- - 2283:2283
- depends_on:
- - redis
- - database
- restart: always
- immich-machine-learning:
- container_name: immich_machine_learning
- image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
- volumes:
- - ${APPDATA_LOCATION}/model-cache:/cache
- env_file:
- - .env
- restart: always
- redis:
- container_name: immich_redis
- #image: redis:6.2-alpine@sha256:80cc8518800438c684a53ed829c621c94afd1087aaeb59b0d4343ed3e7bcf6c5
- image: docker.io/valkey/valkey:8-bookworm@sha256:ff21bc0f8194dc9c105b769aeabf9585fea6a8ed649c0781caeac5cb3c247884
- restart: always
- database:
- container_name: immich_postgres
- #image: tensorchord/pgvecto-rs:pg14-v0.2.0
- #image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0
- image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0
- env_file:
- - .env
- environment:
- POSTGRES_PASSWORD: ${DB_PASSWORD}
- POSTGRES_USER: ${DB_USERNAME}
- POSTGRES_DB: ${DB_DATABASE_NAME}
- volumes:
- - ${APPDATA_LOCATION}/pgdata:/var/lib/postgresql/data
- ports:
- - "5432:5432"
- restart: always
- ENV file
- # You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables
- # The location where your uploaded files are stored
- UPLOAD_LOCATION=/mnt/user/immich
- APPDATA_LOCATION=/mnt/user/immich_folders
- TZ="America/Chicago"
- # LOG_LEVEL=verbose
- # The Immich version to use. You can pin this to a specific version like "v1.71.0"
- IMMICH_VERSION=release
- # Connection secrets for postgres and typesense. You should change these to random passwords
- TYPESENSE_API_KEY=XXXXX
- DB_PASSWORD=XXXXX
- # The values below this line do not need to be changed
- ###################################################################################
- DB_HOSTNAME=immich_postgres
- DB_USERNAME=postgres
- DB_DATABASE_NAME=immich
- REDIS_HOSTNAME=immich_redis
Advertisement
Add Comment
Please, Sign In to add comment