ElevenClip-AI / docker-compose.yml
JakgritB
chore(infra): add deployment and benchmark tooling
df9eb37
raw
history blame contribute delete
764 Bytes
services:
redis:
image: redis:7-alpine
ports:
- "6379:6379"
backend:
build:
context: ./backend
args:
ROCM_PYTORCH_IMAGE: ${ROCM_PYTORCH_IMAGE:-rocm/pytorch:latest}
env_file:
- .env.example
environment:
STORAGE_DIR: /app/data
REDIS_URL: redis://redis:6379/0
FRONTEND_ORIGIN: http://localhost:5173
volumes:
- ./backend/data:/app/data
ports:
- "8000:8000"
depends_on:
- redis
devices:
- /dev/kfd
- /dev/dri
group_add:
- video
ipc: host
shm_size: 16gb
frontend:
build:
context: ./frontend
environment:
VITE_API_BASE_URL: http://localhost:8000
ports:
- "5173:5173"
depends_on:
- backend