mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-01-19 21:37:31 +08:00
38 lines
847 B
YAML
38 lines
847 B
YAML
services:
|
|
# streamlit:
|
|
# build: ./streamlit
|
|
# platform: linux/amd64
|
|
# ports:
|
|
# - "8501:8501"
|
|
# volumes:
|
|
# - ./llmops/src/rag_cot_evaluation/chroma_db:/app/llmops/src/rag_cot_evaluation/chroma_db
|
|
|
|
backend:
|
|
build:
|
|
context: ./backend
|
|
dockerfile: Dockerfile
|
|
container_name: backend
|
|
platform: linux/amd64
|
|
command: pipenv run uvicorn main:app --reload --workers 1 --host 0.0.0.0 --port 8000
|
|
volumes:
|
|
- ./backend:/usr/src/app
|
|
ports:
|
|
- "8000:8000"
|
|
environment:
|
|
- ENVIRONMENT=dev
|
|
- TESTING=0
|
|
|
|
frontend:
|
|
build:
|
|
context: ./frontend
|
|
dockerfile: Dockerfile.local
|
|
container_name: frontend
|
|
volumes:
|
|
- ./frontend:/usr/src/app
|
|
ports:
|
|
- "3004:5173"
|
|
# depends_on:
|
|
# - backend
|
|
environment:
|
|
LOG_LEVEL: "DEBUG"
|