slm-training / docker-compose.yml
debudash's picture
Mirror slm-training @ 507b432 (course PDF excluded)
dc23a98 verified
Raw History Blame Contribute Delete
452 Bytes
# Demo UI. Inference runs on Modal (serve_demo.py); DEMO_URL and DEMO_TOKEN come from .env (never the image).
services:
demo:
build: ./demo
ports:
- "8507:8501"
environment:
DEMO_URL: ${DEMO_URL:?set DEMO_URL in .env (the URL printed by modal deploy serve_demo.py)}
DEMO_TOKEN: ${DEMO_TOKEN:?set DEMO_TOKEN in .env}
DEMO_LOG_DIR: /app/results/demo
volumes:
- ./results/demo:/app/results/demo