[Komodo] admin: Write Stack File: update compose.yaml
This commit is contained in:
parent
c3e5e268b9
commit
58293bca68
1 changed files with 17 additions and 2 deletions
19
compose.yaml
19
compose.yaml
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue