Multi-architecture image for amd64, arm64 and arm/v7. Also available in Unraid Community Apps.
Note: Before coping and pasting the below command from a teminal window type id
This will output your UID (User ID) and your GID (Group ID for Docker)
docker pull ghcr.io/advplyr/audiobookshelf
docker run -d \
-e AUDIOBOOKSHELF_UID=99 \
-e AUDIOBOOKSHELF_GID=100 \
-p 13378:80 \
-v </path/to/config>:/config \
-v </path/to/metadata>:/metadata \
-v </path/to/audiobooks>:/audiobooks \
-v </path/to/podcasts>:/podcasts \
--name audiobookshelf \
--rm ghcr.io/advplyr/audiobookshelf
Note: Volume mappings should all be separate directories that are not contained in eachother.
Volume mappings
• /config will contain the database (users/books/libraries/settings)
• /metadata will contain cache, streams, covers, downloads, backups and logs
• Map any other directories you want to use for your book and podcast collections (ebooks supported as experimental)
Multi-architecture image for amd64, arm64 and arm/v7. Also available in Unraid Community Apps.
Note: Before coping and pasting the below information into a Docker-compose file. You need to run the following command from a teminal window type id
This will output your UID (User ID) and your GID (Group ID for Docker)
version: "3.7"
services:
audiobookshelf:
image: ghcr.io/advplyr/audiobookshelf:latest
environment:
- AUDIOBOOKSHELF_UID=99
- AUDIOBOOKSHELF_GID=100
ports:
- 13378:80
volumes:
- </path/to/your/audiobooks>:/audiobooks
- </path/to/your/podcasts>:/podcasts
- </path/to/config>:/config
- </path/to/metadata>:/metadata
Note: Remember to change the path to your acutal directory and remove the <> symbols
Note: Volume mappings should all be separate directories that are not contained in eachother.
Volume mappings
• /config will contain the database (users/books/libraries/settings)
• /metadata will contain cache, streams, covers, downloads, backups and logs
• Map any other directories you want to use for your book and podcast collections (ebooks supported as experimental)
Will use config file /etc/default/audiobookshelf if exists or create the following default config:
METADATA_PATH="/usr/share/audiobookshelf/metadata"
CONFIG_PATH="/usr/share/audiobookshelf/config"
FFMPEG_PATH="/usr/lib/audiobookshelf-ffmpeg/ffmpeg"
FFPROBE_PATH="/usr/lib/audiobookshelf-ffmpeg/ffprobe"
PORT=7331
If you get invalid certificate issues with the PPA then update the file /etc/apt/sources.list.d/audiobookshelf.list to deb [trusted=yes] https://advplyr.github.io/audiobookshelf-ppa ./
curl -s --compressed "https://advplyr.github.io/audiobookshelf-ppa/KEY.gpg" | sudo apt-key add -
sudo curl -s --compressed -o /etc/apt/sources.list.d/audiobookshelf.list "https://advplyr.github.io/audiobookshelf-ppa/audiobookshelf.list"
sudo apt update
sudo apt install audiobookshelf
or use this one liner
curl -s --compressed "https://advplyr.github.io/audiobookshelf-ppa/KEY.gpg" | sudo apt-key add - && sudo curl -s --compressed -o /etc/apt/sources.list.d/audiobookshelf.list "https://advplyr.github.io/audiobookshelf-ppa/audiobookshelf.list" && sudo apt update && sudo apt install audiobookshelf
Grab the latest debian package from the audiobookshelf-ppa github repository, and install.
wget https://advplyr.github.io/audiobookshelf-ppa/audiobookshelf_2.0.2_amd64.deb
sudo apt install ./audiobookshelf_2.0.2_amd64.deb
To update docker please run the following commands.
docker stop audiobookshelf
docker rm audiobookshelf
docker image prune -a
docker pull ghcr.io/advplyr/audiobookshelf:latest
docker start audiobookshelf
To update Docker-compose please run one of the following commands.
Note: To check which version of Docker Compose you are running run the following:docker-compose --version
or docker compose version
Docker Compose V1
docker-compose --file /docker-compose.yml pull
docker-compose --file /docker-compose.yml up -d
Docker Compose V2
docker compose --file /docker-compose.yml pull
docker compose --file /docker-compose.yml up -d
The mobile apps are open source on Github. Report bugs and suggest features there.