Files
ai-model-router/docker-compose.yml
T

25 lines
475 B
YAML

version: '3.8'
services:
backend:
build:
context: .
dockerfile: backend/Dockerfile
ports:
- "8000:8000"
environment:
- APP_ENV=production
- DATABASE_URL=sqlite+aiosqlite:///./model_router.db
- OLLAMA_BASE_URL=http://host.docker.internal:11434
volumes:
- ./data:/app/data
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "3000:80"
depends_on:
- backend