Self-host Calibre with Levelrail

The Calibre e-book manager in a browser desktop session, for organising, converting and reading your library.

  • Authorkovidgoyal
  • LicenceGPL-3.0-only
  • Memory1 GiB
  • Services1

How to self-host Calibre

  1. Pull the images

    One image is pulled on your server.

    Show images
    • lscr.io/linuxserver/calibre:9.18.0
  2. Create the app

    One service starts in a single Compose app, with 1 named volume mount for your data, on port 8080.

  3. Fill in the secrets

    3 settings are preset, you do not have to fill in anything.

  4. Open it

    Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.

After the first start

  • Open the address, create your library on first launch and import books from the file dialog.

Calibre requirements

Memory
About 1 GiB
Architectures
amd64 unknown, arm64 unknown
Ports
8080
Domain
Optional, an sslip.io address is used without one
Settings
none to fill in
License
GPL-3.0-only, copyleft license
  • Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.

Install Levelrail first

On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Calibre. New to Levelrail? Install it on a fresh VPS first.

docker pull ghcr.io/glincker/levelrail:latest

Then levelrail-cli login --device. See Getting started and the Calibre docs page.

Deploy Calibre your way

Every format below deploys the same pinned images. Pick the one that fits how you work.

Deploy Calibre from the CLI

Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain calibre=app.example.com.

levelrail-cli templates install calibre --name my-calibre

Deploy Calibre with the API

Create a token in the dashboard first. Name, env and domains are the request fields.

curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
  https://levelrail.example.com/api/v1/service-templates/calibre/install \
  -d '{
    "name": "my-calibre"
  }'

Calibre configuration

Calibre services

ServiceImagePortsVolumes
calibre lscr.io/linuxserver/calibre:9.18.0 8080 config -> /config

Calibre environment variables

VariableServiceValue
PGID calibre Preset by the template
PUID calibre Preset by the template
TZ calibre Preset by the template

Ports and volumes

Ports
8080
Volumes
1 named mount: config -> /config

Calibre FAQ

How much memory does Calibre need?

The catalog lists about 1 GiB of memory for Calibre.

Does Calibre run on arm64?

For Calibre, arm64 support is not confirmed; amd64 is unknown.

What licence is Calibre under?

Calibre is licensed under GPL-3.0-only, which is copyleft, so changes you distribute must be shared under the same terms.

Does Calibre need configuration before it starts?

No. The template fills in its own defaults.

Which ports does Calibre use?

Calibre listens on port 8080 inside the stack.

Where does Calibre keep its data?

In a named volume: config mounted at /config.

Can I deploy Calibre on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id calibre for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image lscr.io/linuxserver/calibre:9.18.0 is what you deploy there.

levelrail-cli templates install calibre --name my-calibre