Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 1.15 KB

File metadata and controls

31 lines (25 loc) · 1.15 KB

Docker

docker/
  dev/
    Dockerfile        # uvicorn --reload, source-mounted for hot reload
    compose.yml
  prod/
    Dockerfile        # multi-stage build, gunicorn, no source mount
    compose.yml
  .env.example        # template — copy to .env.dev or .env.prod
  .env.dev            # gitignored, dev values
  .env.prod           # gitignored, prod values
  entrypoint.sh       # runs DB migrations then exec's the server command
  README.md

Env vars

See .env.example for the full list with descriptions.

Volumes

docker compose down never removes volumes. Use docker compose down -v only to intentionally wipe all data.

Volume Path in container Purpose
fireform_db /data/db/fireform.db SQLite database
fireform_uploads /data/uploads Uploaded templates + generated PDFs
ollama_data /root/.ollama Ollama model weights
whisper_models /data/whisper Whisper model cache