[Komodo] admin: Write Stack File: update compose.yaml

This commit is contained in:
komodo 2026-02-06 11:20:22 +01:00
parent c3e5e268b9
commit 58293bca68

View file

@ -42,12 +42,19 @@ services:
POSTGRES_USER: postgres POSTGRES_USER: postgres
MACHINE_LEARNING_MODEL_INTRA_OP_THREADS: 2 MACHINE_LEARNING_MODEL_INTRA_OP_THREADS: 2
NVIDIA_VISIBLE_DEVICES: all NVIDIA_VISIBLE_DEVICES: all
NVIDIA_DRIVER_CAPABILITIES: all
volumes: volumes:
- /dev/bus/usb:/dev/bus/usb - /dev/bus/usb:/dev/bus/usb
- /app-config/cache:/cache - /app-config/cache:/cache
networks: networks:
- immich_network - immich_network
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all # oder 1
capabilities: [gpu]
immich-server: immich-server:
container_name: immich_server container_name: immich_server
image: ghcr.io/immich-app/immich-server:release image: ghcr.io/immich-app/immich-server:release
@ -67,6 +74,8 @@ services:
POSTGRES_USER: postgres POSTGRES_USER: postgres
PUID: 1000 PUID: 1000
PGID: 1000 PGID: 1000
NVIDIA_VISIBLE_DEVICES: all
NVIDIA_DRIVER_CAPABILITIES: all
ports: ports:
- "2283:2283" - "2283:2283"
volumes: volumes:
@ -74,7 +83,13 @@ services:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
networks: networks:
- immich_network - immich_network
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all # oder 1
capabilities: [gpu]
volumes: volumes:
next: next:
driver: local driver: local