Self-host Audiobookshelf with Levelrail

A self-hosted server for your audiobooks and podcasts, with sync across every device.

  • Authoradvplyr
  • LicenceGPL-3.0
  • Memory512 MiB
  • Archarm64
  • Services1

How to self-host Audiobookshelf

  1. Pull the images

    One image is pulled on your server.

    Show images
    • ghcr.io/advplyr/audiobookshelf:2.34.0
  2. Create the app

    One service starts in a single Compose app, with 4 named volume mounts for your data, on port 80.

  3. Fill in the secrets

    1 setting is 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.

Audiobookshelf requirements

Memory
About 512 MiB
Architectures
amd64 image published, arm64 image published
Ports
80
Domain
Optional, an sslip.io address is used without one
Settings
none to fill in
License
GPL-3.0, copyleft license
  • Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.
  • Host ports. It publishes port 80 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 Audiobookshelf. 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 Audiobookshelf docs page.

Deploy Audiobookshelf your way

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

Deploy Audiobookshelf from the CLI

levelrail-cli templates deploy audiobookshelf --name my-audiobookshelf

Deploy Audiobookshelf with the API

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/audiobookshelf/deploy

Audiobookshelf configuration

Audiobookshelf services

ServiceImagePortsVolumes
audiobookshelf ghcr.io/advplyr/audiobookshelf:2.34.0 80 audiobookshelf_config -> /configaudiobookshelf_metadata -> /metadataaudiobookshelf_audiobooks -> /audiobooksaudiobookshelf_podcasts -> /podcasts

Audiobookshelf environment variables

VariableServiceValue
TZ audiobookshelf Preset by the template

Ports and volumes

Ports
80
Volumes
4 named mounts: audiobookshelf_config -> /config, audiobookshelf_metadata -> /metadata, audiobookshelf_audiobooks -> /audiobooks, audiobookshelf_podcasts -> /podcasts

Audiobookshelf FAQ

How much memory does Audiobookshelf need?

The catalog lists about 512 MiB of memory for Audiobookshelf.

Does Audiobookshelf run on arm64?

For Audiobookshelf, an arm64 image is published; amd64 is image published.

What licence is Audiobookshelf under?

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

Does Audiobookshelf need configuration before it starts?

No. The template fills in its own defaults.

Which ports does Audiobookshelf use?

Audiobookshelf listens on port 80 inside the stack.

Where does Audiobookshelf keep its data?

In named volumes: audiobookshelf_config mounted at /config, audiobookshelf_metadata mounted at /metadata, audiobookshelf_audiobooks mounted at /audiobooks and audiobookshelf_podcasts mounted at /podcasts.

Can I deploy Audiobookshelf 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 audiobookshelf for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image ghcr.io/advplyr/audiobookshelf:2.34.0 is what you deploy there.

levelrail-cli templates deploy audiobookshelf --name my-audiobookshelf