* Added backend infrastructure (FastAPI, Dockerfile, requirements) * Set up frontend (Streamlit, Dockerfile, requirements) * Configured docker-compose with Milvus and Flowise services * Created project structure with .env.template and .dockerignore * Added initial gitignore and project metadata
44 lines
743 B
YAML
44 lines
743 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
backend:
|
|
build:
|
|
context: ./backend
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "5000:5000"
|
|
environment:
|
|
- MILVUS_HOST=${MILVUS_HOST}
|
|
- MILVUS_PORT=${MILVUS_PORT}
|
|
depends_on:
|
|
- milvus
|
|
|
|
frontend:
|
|
build:
|
|
context: ./frontend
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "8501:8501"
|
|
environment:
|
|
- BACKEND_URL=${BACKEND_URL}
|
|
depends_on:
|
|
- backend
|
|
|
|
milvus:
|
|
image: milvusdb/milvus:latest
|
|
ports:
|
|
- "19530:19530"
|
|
volumes:
|
|
- milvus_data:/var/lib/milvus
|
|
|
|
flowise:
|
|
image: flowiseai/flowise:latest
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
- PORT=3000
|
|
depends_on:
|
|
- backend
|
|
|
|
volumes:
|
|
milvus_data:
|