2 changed files with 37 additions and 0 deletions
@ -0,0 +1,3 @@ |
|||
STORAGE_BASE_PATH=/media/USB1/docker/booksonic |
|||
FILE_STORAGE_BASE_PATH=/media/USB1/docker/filebrowser |
|||
HOST_URL=cuong.ddnss.de |
|||
@ -0,0 +1,34 @@ |
|||
--- |
|||
version: "2.1" |
|||
services: |
|||
booksonic: |
|||
image: lscr.io/linuxserver/booksonic |
|||
container_name: booksonic |
|||
environment: |
|||
- PUID=1000 |
|||
- PGID=1000 |
|||
- TZ=Europe/Berlin |
|||
- CONTEXT_PATH=booksonic |
|||
volumes: |
|||
- ${STORAGE_BASE_PATH}/config:/config |
|||
- ${FILE_STORAGE_BASE_PATH}/data/booksonic:/audiobooks |
|||
ports: |
|||
- 4040:4040 |
|||
restart: unless-stopped |
|||
labels: |
|||
- "traefik.enable=true" |
|||
- "traefik.http.routers.booksonic.entrypoints=websecure" |
|||
- "traefik.http.routers.booksonic.rule=Host(`${HOST_URL}`) && PathPrefix(`/booksonic`)" |
|||
- "traefik.http.routers.booksonic.tls=true" |
|||
- "traefik.http.routers.booksonic.tls.certresolver=default" |
|||
- "traefik.http.routers.booksonic.middlewares=secHeaders@file" |
|||
- "traefik.http.services.booksonic.loadbalancer.server.port=4040" |
|||
|
|||
networks: |
|||
- traefik_proxy |
|||
|
|||
networks: |
|||
traefik_proxy: |
|||
external: |
|||
name: traefik_proxy |
|||
|
|||
Loading…
Reference in new issue