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