Spaces:
Running on Zero
Running on Zero
File size: 543 Bytes
d686612 | 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 | version: '3.8'
services:
api:
build: .
container_name: epiadr_api
command: uvicorn api:app --host 0.0.0.0 --port 8000
ports:
- "8000:8000"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 10s
timeout: 5s
retries: 3
restart: always
dashboard:
build: .
container_name: epiadr_dashboard
command: streamlit run app.py --server.port 8501 --server.address 0.0.0.0
ports:
- "8501:8501"
depends_on:
- api
restart: always
|