mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
align docker compose with run
This commit is contained in:
parent
4a8bcc90ea
commit
9e93a3c7e6
13
readme.md
13
readme.md
@ -71,6 +71,7 @@ docker run -d \
|
|||||||
-e AUDIOBOOKSHELF_GID=100 \
|
-e AUDIOBOOKSHELF_GID=100 \
|
||||||
-p 13378:80 \
|
-p 13378:80 \
|
||||||
-v </path/to/audiobooks>:/audiobooks \
|
-v </path/to/audiobooks>:/audiobooks \
|
||||||
|
-v </path/to/your/podcasts>:/podcasts \
|
||||||
-v </path/to/config>:/config \
|
-v </path/to/config>:/config \
|
||||||
-v </path/to/metadata>:/metadata \
|
-v </path/to/metadata>:/metadata \
|
||||||
--name audiobookshelf \
|
--name audiobookshelf \
|
||||||
@ -87,17 +88,21 @@ docker start audiobookshelf
|
|||||||
|
|
||||||
### Running with Docker Compose
|
### Running with Docker Compose
|
||||||
|
|
||||||
```bash
|
```yaml
|
||||||
### docker-compose.yml ###
|
### docker-compose.yml ###
|
||||||
services:
|
services:
|
||||||
audiobookshelf:
|
audiobookshelf:
|
||||||
image: ghcr.io/advplyr/audiobookshelf
|
image: ghcr.io/advplyr/audiobookshelf
|
||||||
|
environment:
|
||||||
|
- AUDIOBOOKSHELF_UID=99
|
||||||
|
- AUDIOBOOKSHELF_GID=100
|
||||||
ports:
|
ports:
|
||||||
- 13378:80
|
- 13378:80
|
||||||
volumes:
|
volumes:
|
||||||
- <path/to/your/audiobooks>:/audiobooks
|
- </path/to/your/audiobooks>:/audiobooks
|
||||||
- <path/to/metadata>:/metadata
|
- </path/to/your/podcasts>:/podcasts
|
||||||
- <path/to/config>:/config
|
- </path/to/config>:/config
|
||||||
|
- </path/to/metadata>:/metadata
|
||||||
```
|
```
|
||||||
|
|
||||||
### Docker Compose Update
|
### Docker Compose Update
|
||||||
|
Loading…
Reference in New Issue
Block a user