mam-api: add NODE_IP env passthrough and NVIDIA GPU device reservation

This commit is contained in:
Zac Gaetano 2026-05-20 18:59:55 -04:00
parent 74299629e6
commit 1e4e2e436f

View file

@ -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