colearn30-ai-grading-agents / docker-compose.yml
m46012002's picture
feat: add continuous conversation, relax prompt constraints, and fix docker config
1902271
raw
history blame contribute delete
670 Bytes
version: '3.8'
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "8000:8000"
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}
- ENVIRONMENT=production
- CORS_ORIGINS=["http://localhost:3000", "http://localhost:80"]
volumes:
- ./backend/agents.yaml:/app/agents.yaml:ro
networks:
- app-network
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "80:80"
depends_on:
- backend
environment:
- VITE_API_URL=http://localhost:8000/api
networks:
- app-network
networks:
app-network:
driver: bridge