feat: use docker compose
CI / Rust CI (push) Successful in 1m11s
Publish & Deploy / Build and Push to Registry (push) Successful in 1m27s
Publish & Deploy / Deploy via SSH (push) Failing after 3s

This commit is contained in:
2026-04-09 17:09:27 +02:00
parent 40364b5638
commit 654b8e2987
2 changed files with 26 additions and 4 deletions
+22
View File
@@ -0,0 +1,22 @@
services:
chat:
image: gitea.iceberg.black/${REPO_LOWER}:${TAG}
container_name: chat
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]