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