Spaces:
Sleeping
Sleeping
File size: 739 Bytes
cb1cfd2 a98e43e cb1cfd2 | 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 | version: "3.8"
# Docker Compose file for the CT Segmentation App
# 1. Start the fastapi api
# 2. Start the mlflow tracking server
services:
#launch container from dockerfile in current directory
seg-api:
build: .
ports:
- "8000:8000"
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
volumes:
- ./checkpoints:/app/checkpoints
environment:
- NVIDIA_VISIBLE_DEVICES=all
# track experiments with mlflow, store data in mlruns directory
mlflow:
image: ghcr.io/mlflow/mlflow:latest
ports:
- "5000:5000"
command: mlflow server --host 0.0.0.0
volumes:
- ./mlruns:/mlruns |