add audiobookshelf
This commit is contained in:
26
project/media/audiobookshelf/audiobookshelf.yml
Normal file
26
project/media/audiobookshelf/audiobookshelf.yml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
services:
|
||||||
|
audiobookshelf:
|
||||||
|
extends:
|
||||||
|
file: ${TEMPLATES_PATH}
|
||||||
|
service: default
|
||||||
|
image: ghcr.io/advplyr/audiobookshelf:latest
|
||||||
|
container_name: audiobookshelf
|
||||||
|
ports:
|
||||||
|
- 13378:80
|
||||||
|
volumes:
|
||||||
|
# - ${AUDIOBOOKSHELF_EXTERNAL_PATH}/audiobooks:/audiobooks
|
||||||
|
# - ${AUDIOBOOKSHELF_EXTERNAL_PATH}/podcasts:/podcasts
|
||||||
|
- ${MEDIA_PATH}/data/media/audiobooks:/audiobooks
|
||||||
|
- ${MEDIA_PATH}/audiobookshelf/config:/config
|
||||||
|
- ${MEDIA_PATH}/audiobookshelf/data/metadata:/metadata
|
||||||
|
labels:
|
||||||
|
# Watchtower
|
||||||
|
- "com.centurylinklabs.watchtower.enable=true"
|
||||||
|
# Traefik
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.audiobookshelf.rule=Host(`audiobookshelf.${PUBLIC_DOMAIN}`)"
|
||||||
|
- "traefik.http.routers.audiobookshelf.entrypoints=https"
|
||||||
|
- "traefik.http.routers.audiobookshelf.tls.certresolver=myresolver"
|
||||||
|
- 'traefik.http.routers.audiobookshelf.tls=true'
|
||||||
|
# Middlewares
|
||||||
|
- "traefik.http.routers.audiobookshelf.middlewares=crowdsec-bouncer@file"
|
||||||
Reference in New Issue
Block a user