Files
chat-api/docker-compose.yml
T

26 lines
460 B
YAML

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