mam-api: add NODE_IP env passthrough and NVIDIA GPU device reservation
This commit is contained in:
parent
74299629e6
commit
1e4e2e436f
1 changed files with 8 additions and 0 deletions
|
|
@ -46,6 +46,14 @@ services:
|
|||
SESSION_SECRET: ${SESSION_SECRET}
|
||||
AUTH_ENABLED: ${AUTH_ENABLED:-false}
|
||||
DOCKER_NETWORK: wild-dragon_wild-dragon
|
||||
NODE_IP: ${NODE_IP}
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: all
|
||||
capabilities: [gpu]
|
||||
networks:
|
||||
- wild-dragon
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue