vfx-2 / docker-compose.yml
TaqiRaza512's picture
Initial commit
a103028
version: "3.9"
services:
epic:
build:
context: .
dockerfile: Dockerfile
args:
HF_TOKEN: ${HF_TOKEN}
environment:
- HF_TOKEN=${HF_TOKEN}
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=compute,utility,video
volumes:
- .:/app
ports:
- "7860:7860"
- "7890:7890"
- "7862:7862"
- "100:100"
- "80:80"
image: epic-app
runtime: nvidia # ⬅️ Required if you're not using swarm mode
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]