Add: Docker compose example and readme #164

This commit is contained in:
advplyr 2021-10-31 09:54:58 -05:00
parent e564c80ed2
commit 8a684ccdc4
2 changed files with 28 additions and 0 deletions

12
docker-compose.yml Normal file
View File

@ -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

View File

@ -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:
- <path/to/your/audiobooks>:/audiobooks
- <path/to/metadata>:/metadata
- <path/to/config>:/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`.