Spaces:
No application file
No application file
File size: 712 Bytes
52d98a1 |
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 |
version: "3.9"
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: insurance-backend
ports:
- "8000:8000"
environment:
- PYTHONUNBUFFERED=1
volumes:
- ./backend:/home/uv-example-user/src
command: ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: insurance-frontend
ports:
- "8501:8501"
environment:
- STREAMLIT_SERVER_PORT=8501
volumes:
- ./frontend:/app
command: ["streamlit", "run", "frontend.py", "--server.port=8501", "--server.address=0.0.0.0"]
|