From 8a684ccdc47a692c3990bc4f85c4527491f0e659 Mon Sep 17 00:00:00 2001 From: advplyr Date: Sun, 31 Oct 2021 09:54:58 -0500 Subject: [PATCH] Add: Docker compose example and readme #164 --- docker-compose.yml | 12 ++++++++++++ readme.md | 16 ++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..fe0e76fd --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,12 @@ +### EXAMPLE DOCKER COMPOSE ### +version: "3.7" + +services: + app: + image: advplyr/audiobookshelf + ports: + - 13378:80 + volumes: + - /audiobooks:/audiobooks + - /metadata:/metadata + - /config:/config \ No newline at end of file diff --git a/readme.md b/readme.md index e7eaf279..d55258b0 100644 --- a/readme.md +++ b/readme.md @@ -58,6 +58,22 @@ docker run -d \ --rm advplyr/audiobookshelf ``` +### Running with Docker Compose + +```bash +### docker-compose.yml ### +services: + app: + image: advplyr/audiobookshelf + ports: + - 13378:80 + volumes: + - :/audiobooks + - :/metadata + - :/config +``` + + ### Linux (amd64) Install A simple installer is added to setup the initial config. If you already have audiobooks, you can enter the path to your audiobooks during the install. The installer will create a user and group named `audiobookshelf`.