feat: use docker compose
This commit is contained in:
@@ -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]
|
||||
Reference in New Issue
Block a user