networks: immich_network: name: immich_network services: redis: container_name: immich_redis image: docker.io/redis:6.2-alpine@sha256:905c4ee67b8e0aa955331960d2aa745781e6bd89afc44a8584bfd13bc890f0ae restart: always healthcheck: test: ["CMD", "redis-cli", "ping"] networks: - immich_network database: container_name: immich_postgres image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0 restart: always environment: POSTGRES_DB: immich POSTGRES_INITDB_ARGS: --data-checksums POSTGRES_PASSWORD: postgres POSTGRES_USER: postgres volumes: - /app-config/database:/var/lib/postgresql/data networks: - immich_network immich-machine-learning: container_name: immich_machine_learning image: ghcr.io/immich-app/immich-machine-learning:release-cuda restart: always healthcheck: disable: false environment: POSTGRES_DB: immich POSTGRES_INITDB_ARGS: --data-checksums POSTGRES_PASSWORD: postgres POSTGRES_USER: postgres MACHINE_LEARNING_MODEL_INTRA_OP_THREADS: 2 NVIDIA_VISIBLE_DEVICES: all volumes: - /dev/bus/usb:/dev/bus/usb - /app-config/cache:/cache networks: - immich_network immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:release restart: always user: "1000:1000" group_add: - 1000 depends_on: - redis - database healthcheck: disable: false environment: POSTGRES_DB: immich POSTGRES_INITDB_ARGS: --data-checksums POSTGRES_PASSWORD: postgres POSTGRES_USER: postgres PUID: 1000 PGID: 1000 ports: - "2283:2283" volumes: - next:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro networks: - immich_network volumes: next: driver: local driver_opts: type: cifs # Wichtig: addr ohne //, Pfad beginnt mit / device: "//u457772.your-storagebox.de/backup/immich" o: "addr=u457772.your-storagebox.de,username=u457772,password=wjBt2d3QeBp4d2,vers=3.0,uid=1000,gid=1000,file_mode=0770,dir_mode=0770"