Compose Generator
Configure your deployment below and download a ready-to-use compose file. All logic runs in your browser; nothing is sent to a server.
Container runtime
Grimoire image
Resolved image: hunterreadca/grimoire:latest
Volume paths
Secret key
Used to sign JWT tokens. Must be a long random string; keep it private.
Optional settings
Authentication (optional)
These pin auth behaviour via environment variables, overriding the in-app toggles (which then show read-only). Leave them alone to manage everything from Settings → Authentication in the app.
OCR (scanned / image-only PDFs)
Scanned PDFs with no text layer are run through OCR in the background so they become searchable. Bundled with the default image; omitted from -slim tags.
Library access
A writable library mount lets admins upload, move, rename, and delete files from inside Grimoire, and lets it export metadata sidecars. Uncheck it to mount the library :ro — everything else works the same, and those two features are hidden.
Companion tools (optional)
Grimoire manages library files itself. Add Calibre alongside it for ebook conversion and bulk metadata editing.
docker-compose.yml
services:
grimoire:
image: hunterreadca/grimoire:latest
container_name: grimoire
restart: unless-stopped
ports:
- "9481:9481"
environment:
- LIBRARY_PATH=/library
- DATA_PATH=/data
- WORKERS=2
- SECRET_KEY=change-me
volumes:
- /path/to/your/library:/library
- /path/to/grimoire/data:/data