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