DashCaddy Documentation
Install Calibre-Web
Web-based ebook manager and reader
lscr.io/linuxserver/calibre-web:latestWhat is Calibre-Web?
Web-based ebook manager and reader
Calibre-Web ships as a self-contained Docker image that DashCaddy provisions with one click. DashCaddy handles the container lifecycle, DNS record, Caddy reverse-proxy entry, and HTTPS certificate so you can focus on using Calibre-Web, not installing it.
Prerequisites
- A running DashCaddy host with the dashboard accessible (default URL:
https://status.sami; configurable via thedashboardHostsetting inconfig.json). - You must be signed in to the dashboard with an admin session, or have an API key with admin scope (
POST /api/v1/auth/keysto create one). - A host path containing your media. Default suggestion:
/media/books. The deploy form / API payloadconfig.mediaPathmust be readable by the container UID (usually1000). - For HTTPS with a real certificate, Technitium DNS must be configured and the host must have port 80/443 reachable from the internet. Otherwise DashCaddy will fall back to direct-IP access or a self-signed certificate.
Install via the DashCaddy dashboard
- Sign in at
https://status.sami(or your host's dashboard URL). - Click the 📱 App Selector button on the dashboard home page.
- Pick Calibre-Web from the Media category.
- Fill in the deployment form: subdomain (default suggestion:
books), host port (default:8083), and the media library path. - Click Deploy. DashCaddy will pull the image, create persistent volumes, write a Caddy route, create the DNS record, and wait up to 30 seconds for the container's health check (
/) to pass. - When the dashboard shows the service as Running, the URL (built from your subdomain and configured TLD) is clickable. The deploy API returns a synchronous response with
{success, containerId, url, message, setupInstructions}— there is no separate status-poll endpoint; the dashboard updates live.
Install via the REST API
Authenticate with an API key (or a JWT minted via POST /api/v1/auth/jwt). Send as X-API-Key: dk_... or Authorization: Bearer <jwt>.
curl -X POST https://status.sami/api/v1/apps/deploy \\ -H "X-API-Key: dk_your_api_key" \\ -H "Content-Type: application/json" \\ -d '{ "appId": "calibre-web", "config": { "subdomain": "books", "port": 8083, "mediaPath": "/media/books" } }'The full body schema is in src/utilities/validate.js (Joi schema appDeploy). All config.* fields except subdomain are optional. Notable options:
config.port— host port (1–65535). Defaults to the template'sdefaultPort.config.mediaPath— host directory to mount as the media library.config.plexClaimToken— Plex claim token (when the upstream service needs one).config.useExisting: true+existingContainerId— attach DashCaddy metadata to an already-running container instead of pulling a new image.config.tailscaleOnly: true— restrict the reverse-proxy entry to your Tailscale network.config.allowedIPs— array of CIDR ranges allowed past the reverse proxy.config.createDns: false— skip DNS record creation (use when the subdomain already resolves).config.resources—{memory, cpus}limits applied to the container.
Install via the AI Intent Router (returns a structured intent)
The Intent Router returns a structured intent, not a deployed container. To deploy via AI, send natural language to:
curl -X POST https://status.sami/api/v1/ai/intent \\ -H "X-API-Key: dk_your_api_key" \\ -H "Content-Type: application/json" \\ -d '{ "message": "Deploy Calibre-Web on my home host and expose it at books.sami" }'The response includes intent, action, parameters, and followup — your client (or the MCP server) must then call POST /api/v1/apps/deploy with those parameters to actually provision the container.
Install via the MCP Server
For AI agents (Claude Desktop, Hermes, etc.) configure the MCP server (src/mcp/mcp-server.js) with:
DASHCADDY_URL=https://status.sami:3001 # internal API URL, may differ from dashboard URL DASHCADDY_API_KEY=dk_your_api_keyThe server exposes dashcaddy_deploy_app. Note: this tool writes the Caddy route and creates the services.json entry, but it does NOT pull the Docker image or start the container. You must run docker pull lscr.io/linuxserver/calibre-web:latest and start the container yourself for the URL to actually serve traffic. For a fully-managed deployment, call POST /api/v1/apps/deploy directly from your agent.
Post-install: first-run checklist
- Default login: admin / admin123
- Point to your Calibre database location on first setup
- Supports EPUB, PDF, MOBI, and more formats
Media library path notes
The media mount path you pass as mediaPath in the deploy payload is mounted as /books inside the container. Bind a host directory containing your media library (movies, TV shows, music, etc.).
- UID/GID: Calibre-Web runs as a non-root user. If you see permission errors in the dashboard Logs tab, run
chown -R 1000:1000 /media/bookson the host. - Multi-library: bind the parent folder and let Calibre-Web discover subfolders.
Volumes and persistent data
DashCaddy creates these volume mounts in the container spec:
/opt/calibre-web/config:/configMEDIA_PATH:/books
All paths are host paths (left side) mapped into the container (right side). Restarting the container preserves data; reinstalling the template preserves it unless you explicitly pass config.useExisting: false AND wipe the volume. Bind mounts use the host-path conventions above (e.g. /opt/plex/config becomes a bind mount to the host directory of the same path).
Environment variables
PUIDPGIDTZ
These are baked into the template at deploy time and shipped to the container. The deploy handler does NOT allow overriding them via the API payload — to change them you must edit the template definition in dashcaddy-api/src/docker/app-templates.js.
Updating the image
There is no built-in auto-update — DashCaddy does NOT poll for new image digests. To pull a new version:
- SSH into the DashCaddy host and run
docker pull lscr.io/linuxserver/calibre-web:latest. - Restart the container:
docker restart <containerId>(find the ID viaGET /api/v1/servicesor the dashboard). - Or deploy Watchtower from this catalog (separate template that polls Docker Hub and updates other containers automatically, default schedule
0 0 4 * * *= 04:00 daily).
Backups
The default backup policy includes the entire /app/data/ directory (services, config, credentials, stats) AND all Docker volumes. Backups are scheduled via backup-config.json — the default schedule is configurable, not "nightly" out of the box. To restore on a fresh host, redeploy the same template and then call POST /api/v1/apps/{appId}/restore with a backup ID from GET /api/v1/backups/history.
Troubleshooting
Common issues with Calibre-Web:
- Container won't start: check the dashboard's Logs panel. Most startup failures are permission errors on the host-path volume.
- Library shows empty: confirm
mediaPathis readable by the container UID and that the directory contains the file extensions Calibre-Web indexes. - URL not reachable after deploy: the Caddy route was written but DNS hasn't propagated, or port 80/443 is firewalled. Check
GET /api/v1/dns/recordsandsystemctl status caddyon the host. - Health check timeout (deploy returns 30s after start): the container is starting but
/is not returning 200. Inspectdocker logs <containerId>directly.
For layer-by-layer diagnostics, see the Troubleshooting guide.
Template ID: calibre-web. Source: dashcaddy-api/src/docker/app-templates.js.