Native node CUDA Docker: nvidia/cuda base + GPU runtime

Dockerfile käyttää nvidia/cuda:12.6.3 -imagea jossa CUDA-kirjastot
ovat valmiina. docker-compose lisää runtime: nvidia + NVIDIA_VISIBLE_DEVICES.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-06 21:02:43 +03:00
parent b2694c232e
commit 4ad8a8793e
2 changed files with 11 additions and 6 deletions

View File

@@ -17,12 +17,13 @@ services:
context: .
dockerfile: Dockerfile.native-node
container_name: kipina_native_node
runtime: nvidia
environment:
- HUB_URL=ws://agentic-poc:3000/ws
- ALLOCATED_GB=4
- NVIDIA_VISIBLE_DEVICES=all
depends_on:
- agentic-poc
# GPU passthrough (valinnainen — toimii myös ilman)
deploy:
resources:
reservations: