2021-10-31 15:54:58 +01:00
|
|
|
### EXAMPLE DOCKER COMPOSE ###
|
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
2021-10-31 15:58:30 +01:00
|
|
|
audiobookshelf:
|
2023-12-15 05:04:37 +01:00
|
|
|
image: ghcr.io/advplyr/audiobookshelf:latest
|
|
|
|
# ABS runs on port 13378 by default. If you want to change
|
|
|
|
# the port, only change the external port, not the internal port
|
2021-10-31 15:54:58 +01:00
|
|
|
ports:
|
|
|
|
- 13378:80
|
|
|
|
volumes:
|
2023-12-15 05:04:37 +01:00
|
|
|
# These volumes are needed to keep your library persistent
|
|
|
|
# and allow media to be accessed by the ABS server.
|
|
|
|
# The path to the left of the colon is the path on your computer,
|
|
|
|
# and the path to the right of the colon is where the data is
|
|
|
|
# available to ABS in Docker.
|
|
|
|
# You can change these media directories or add as many as you want
|
2022-09-11 22:36:32 +02:00
|
|
|
- ./audiobooks:/audiobooks
|
2023-08-24 00:55:07 +02:00
|
|
|
- ./podcasts:/podcasts
|
2023-12-15 05:04:37 +01:00
|
|
|
# The metadata directory can be stored anywhere on your computer
|
2022-09-11 22:36:32 +02:00
|
|
|
- ./metadata:/metadata
|
2023-12-15 05:04:37 +01:00
|
|
|
# The config directory needs to be on the same physical machine
|
|
|
|
# you are running ABS on
|
2022-09-11 22:36:32 +02:00
|
|
|
- ./config:/config
|
2022-07-18 02:12:02 +02:00
|
|
|
restart: unless-stopped
|
2023-12-15 05:04:37 +01:00
|
|
|
# You can use the following environment variable to run the ABS
|
|
|
|
# docker container as a specific user. You will need to change
|
|
|
|
# the UID and GID to the correct values for your user.
|
|
|
|
#environment:
|
|
|
|
# - user=1000:1000
|