Identify ICU patients at risk of developing sepsis: PRG, PL, PR, SK, TS, M11, BD2, Age, Insurance
407
backend (gabcares/sepsis-fastapi)
frontend (gabcares/sepsis-streamlit)
Clone the full project on GitHub
services:
cache:
image: redis:7.2.3-alpine
container_name: cache-redis
restart: always
ports:
- "6379:6379"
volumes:
- redis_data:/data
networks:
app-tier:
api:
build:
context: ./src/api
dockerfile: Dockerfile
image: gabcares/sepsis-fastapi:latest
container_name: fastapi
command: uvicorn main:app --host 0.0.0.0 --port 7860
volumes:
- api:/src/api
ports:
- "7860:7860"
env_file:
- path: ./env/offline.env
required: true
- path: ./env/online.env
required: false
depends_on:
- cache
networks:
app-tier:
client:
build:
context: ./src/client
dockerfile: Dockerfile
image: gabcares/sepsis-streamlit:latest
container_name: client-streamlit
command: streamlit run app.py
volumes:
- client:/src/client
ports:
- "8501:8501"
env_file:
- path: ./env/offline.env
required: true
- path: ./env/online.env
required: false
depends_on:
- api
networks:
app-tier:
networks:
app-tier:
driver: bridge
volumes:
api:
client:
redis_data: {}
# API
API_URL=http://api:7860/api/v1/prediction?model
# Redis local
REDIS_URL=redis://cache:6379/
REDIS_USERNAME=default
docker-compose pull
docker-compose up
Content type
Image
Digest
sha256:6e3d57b77…
Size
729.2 MB
Last updated
about 2 years ago
docker pull gabcares/sepsis-fastapi