This is an old revision of the document!
Audio Book Shelf
AudioBookShelf is a Self-hosted audiobook and podcast server.
Installation
It is possible to install ABS on bare-metal. They provide prebuilt packages for Debian, Redhat/CentOS and NixOS. But i am on Gentoo, so i decided against downloading a deb or an rpm package but go the containers way instead.
As usual, you need to create the audiobookshelf user but be careful to assign it to the media group so that it can access all the audiobooks and podcasts of your collection,:
useradd -d /data/daemons/audiobookshelf -m -g media audiobookshelf
Then, as user audiobookshelf, create the following docker compose yaml (see here):
- docker-compose.yml
version: "3.7" services: audiobookshelf: image: ghcr.io/advplyr/audiobookshelf:latest ports: - 13378:80 volumes: - /data/Audiobooks/:/audiobooks - /data/Podcasts:/podcasts - /data/daemons/audiobookshelf/config:/config - /data/Metadata:/metadata environment: - TZ=Europe/Rome
Set a proper port (13378)for your needs, one that is free from all your other services. Double check the various volumes to point to your media collection properly. Also set your TimeZone (TZ) appropriately.
Now ensure your folders do exist:
mkdir /data/Podcasts mkdir /data/Audiobooks mkdir /data/Metadata chown audiobookshelf:media -R /data/Podcasts /data/Audiobooks /data/Metadata su - audiobookshelf mkdir config
And then pull the images: