# Self-host Audiobookshelf

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

- Page: https://levelrail.com/templates/audiobookshelf/
- JSON: https://levelrail.com/templates/audiobookshelf.json
- Category: Media
- Licence: GPL-3.0 (Copyleft license)
- Source: https://github.com/advplyr/audiobookshelf
- Upstream docs: https://www.audiobookshelf.org/docs

## Requirements
- Memory: about 512 MiB
- amd64: published, arm64: published
- Needs configuration before start: no
- Pinned image tag: 2.34.0

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| audiobookshelf | ghcr.io/advplyr/audiobookshelf | 2.34.0 | 80 | audiobookshelf_config -> /config; audiobookshelf_metadata -> /metadata; audiobookshelf_audiobooks -> /audiobooks; audiobookshelf_podcasts -> /podcasts |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| audiobookshelf | TZ | preset |

## Deploy

### CLI

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

### API

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

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

## Questions

### 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.

Self-host Audiobookshelf, Audiobookshelf docker compose file, deploy Audiobookshelf on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
