Guest User

immi docker compose cm3588

a guest
Oct 30th, 2025
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.65 KB | None | 0 0
  1. # This file is auto-generated by openmediavault (https://www.openmediavault.org)
  2. # WARNING: Do not edit this file, your changes will get lost.
  3.  
  4. # immich
  5. # photos
  6. name: immich
  7.  
  8. services:
  9.   immich-server:
  10.     container_name: immich_server
  11.     image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
  12.     extends:
  13.        file: hwaccel.transcoding.yml
  14.        service: rkmpp # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
  15.     volumes:
  16.      # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
  17.       - ${UPLOAD_LOCATION}:/data
  18.       - /etc/localtime:/etc/localtime:ro
  19.     env_file:
  20.      - immich.env
  21.     ports:
  22.      - '2283:2283'
  23.     depends_on:
  24.      - redis
  25.       - database
  26.     restart: always
  27.     healthcheck:
  28.       disable: false
  29.  
  30.   immich-machine-learning:
  31.     container_name: immich_machine_learning
  32.     # For hardware acceleration, add one of -[armnn, cuda, rocm, openvino, rknn] to the image tag.
  33.     # Example tag: ${IMMICH_VERSION:-release}-cuda
  34.     image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}-rknn
  35.     extends: # uncomment this section for hardware acceleration - see https://docs.immich.app/features/ml-hardware-acceleration
  36.        file: hwaccel.ml.yml
  37.        service: rknn # set to one of [armnn, cuda, rocm, openvino, openvino-wsl, rknn] for accelerated inference - use the `-wsl` version for WSL2 where applicable
  38.     volumes:
  39.      - model-cache:/cache
  40.     env_file:
  41.      - immich.env
  42.     restart: always
  43.     healthcheck:
  44.       disable: false
  45.  
  46.   redis:
  47.     container_name: immich_redis
  48.     image: docker.io/valkey/valkey:8-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571
  49.     healthcheck:
  50.       test: redis-cli ping || exit 1
  51.     restart: always
  52.  
  53.   database:
  54.     container_name: immich_postgres
  55.     image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:bcf63357191b76a916ae5eb93464d65c07511da41e3bf7a8416db519b40b1c23
  56.     environment:
  57.       POSTGRES_PASSWORD: ${DB_PASSWORD}
  58.       POSTGRES_USER: ${DB_USERNAME}
  59.       POSTGRES_DB: ${DB_DATABASE_NAME}
  60.       POSTGRES_INITDB_ARGS: '--data-checksums'
  61.       # Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
  62.       # DB_STORAGE_TYPE: 'HDD'
  63.     volumes:
  64.      # Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file
  65.       - ${DB_DATA_LOCATION}:/var/lib/postgresql/data
  66.     shm_size: 128mb
  67.     restart: always
  68.  
  69. volumes:
  70.  model-cache:
Advertisement
Add Comment
Please, Sign In to add comment