-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
32 lines (32 loc) · 926 Bytes
/
docker-compose.yaml
File metadata and controls
32 lines (32 loc) · 926 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
services:
scenesmith:
build: .
runtime: nvidia
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}
- GOOGLE_API_KEY=${GOOGLE_API_KEY:-}
- OPENAI_TRACING_KEY=${OPENAI_TRACING_KEY:-}
- NVIDIA_VISIBLE_DEVICES=all
volumes:
# Data directories (download on host, mount into container).
- ./data:/app/data
# SAM3D model checkpoints (requires HuggingFace auth).
- ./external/checkpoints:/app/external/checkpoints
# Generated scene outputs.
- ./outputs:/app/outputs
# Required for bubblewrap (GPU isolation for multi-GPU Blender rendering).
cap_add:
- SYS_ADMIN
- SYS_CHROOT
security_opt:
- apparmor=unconfined
- seccomp=unconfined
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
stdin_open: true
tty: true