Self-host Gotenberg with Levelrail
VerifiedA stateless API for converting HTML, Markdown, Office, and PDF documents in the background.
- Authorgotenberg
- LicenceMIT
- Memory512 MiB
- Archarm64
- Services1
How to self-host Gotenberg
-
Pull the images
One image is pulled on your server.
Show images
gotenberg/gotenberg:8.15
-
Create the app
One service starts in a single Compose app, on port 3000.
-
Fill in the secrets
You do not have to fill in anything.
-
Open it
Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.
Gotenberg requirements
- Memory
- About 512 MiB
- Architectures
- amd64 image published, arm64 tested
- Ports
- 3000
- Domain
- Optional, an sslip.io address is used without one
- Settings
- none to fill in
- License
- MIT, permissive license
- Verified. Verified on arm64 with image tag 8.15. Our CI ran this exact image version and it answered on its health path. Evidence
- Host ports. It publishes port 3000 on the host, so open them in the VPS firewall only if you want that.
Install Levelrail first
On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Gotenberg. 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 Gotenberg docs page.
Deploy Gotenberg your way
Every format below deploys the same pinned images. Pick the one that fits how you work.
Deploy Gotenberg from the CLI
levelrail-cli templates deploy gotenberg --name my-gotenberg Deploy Gotenberg with the API
curl -X POST -H "Authorization: Bearer $TOKEN" \
https://levelrail.example.com/api/v1/service-templates/gotenberg/deploy Gotenberg configuration
Gotenberg services
| Service | Image | Ports | Volumes |
|---|---|---|---|
| gotenberg | gotenberg/gotenberg:8.15 | 3000 | none |
Gotenberg environment variables
The catalog lists no environment variables for this template.
Ports and volumes
- Ports
- 3000
- Volumes
- none
Gotenberg FAQ
How much memory does Gotenberg need?
The catalog lists about 512 MiB of memory for Gotenberg.
Does Gotenberg run on arm64?
For Gotenberg, arm64 is tested; amd64 is image published.
What licence is Gotenberg under?
Gotenberg is licensed under MIT, which is permissive, with few conditions on reuse.
Does Gotenberg need configuration before it starts?
No. The template fills in its own defaults.
Which ports does Gotenberg use?
Gotenberg listens on port 3000 inside the stack.
Can I deploy Gotenberg 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 gotenberg for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image gotenberg/gotenberg:8.15 is what you deploy there.