Files
awesome-agentic-ai/docker-compose.yml

44 lines
918 B
YAML

version: '3.9'
services:
backend:
build: .
container_name: agentic-backend
ports:
- "8000:8000"
volumes:
- .:/app
restart: always
command: ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
frontend:
build:
context: ./web
container_name: agentic-frontend
ports:
- "5173:5173"
command: ["npm", "run", "dev"]
volumes:
- ./web:/web
working_dir: /web
restart: always
moe-router:
build: .
container_name: agentic-moe-router
ports:
- "8080:8080"
volumes:
- .:/app
restart: always
command: ["uvicorn", "models.moe_handler:app", "--host", "0.0.0.0", "--port", "8080"]
prometheus:
image: prom/prometheus:latest
container_name: agentic-prometheus
ports:
- "9090:9090"
volumes:
- ./monitoring/prometheus.yml:/etc/prometheus/prometheus.yml
restart: always