Files
chat-api/docker-compose.yml
T
LucasDLTG 46e455fa07
CI / Rust CI (push) Successful in 1m13s
Publish & Deploy / Build and Push to Registry (push) Successful in 18s
Publish & Deploy / Deploy via SSH (push) Successful in 17s
feat: put api and ollama in same docker net
2026-04-09 21:01:27 +02:00

29 lines
471 B
YAML

services:
chat:
image: gitea.iceberg.black/${REPO_LOWER}:${TAG}
container_name: chat-api
env_file:
- .env
ports:
- "6066:3000"
restart: always
networks:
- chat-net
environment:
NVIDIA_DRIVER_CAPABILITIES: compute,utility,management
NVIDIA_VISIBLE_DEVICES: all
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
networks:
chat-net:
external: true