WorldDisasterLM-8B / docker-compose.yml
drdeveloper88's picture
Upload WorldDisasterLM-8B source code: FastAPI backend, training pipeline, 11-language support
495526b
Raw
History Blame Contribute Delete
611 Bytes
version: "3.9"
services:
api:
build:
context: .
dockerfile: Dockerfile
env_file:
- .env
ports:
- "8000:8000"
volumes:
- ./:/app
command: uvicorn backend.app.main:app --host 0.0.0.0 --port 8000
frontend:
image: node:20-alpine
working_dir: /workspace/frontend
volumes:
- ./:/workspace
ports:
- "5173:5173"
command: sh -c "npm install && npm run dev -- --host"
depends_on:
- api
mlflow:
image: ghcr.io/mlflow/mlflow:v2.22.0
ports:
- "5000:5000"
command: mlflow server --host 0.0.0.0 --port 5000