Spaces:
Running
Running
File size: 755 Bytes
1e384db fb7ce8a 1e384db | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | services:
backend:
build: .
container_name: chilicare_backend
# server FastAPI
command: uvicorn backend.api:app --host 0.0.0.0 --port 8000
ports:
- "8000:8000"
volumes:
- ./chroma_data:/app/chroma_data
- ./model:/app/model
- hf_cache:/root/.cache/huggingface
env_file:
- .env
streamlit:
build: .
container_name: chilicare_streamlit
# Streamlit
command: streamlit run app.py --server.address 0.0.0.0
ports:
- "8501:8501"
depends_on:
- backend
frontend_web:
image: nginx:alpine
container_name: chilicare_frontend
# Nginx untuk web HTML
ports:
- "3000:80"
volumes:
- ./frontend:/usr/share/nginx/html
volumes:
hf_cache: |