You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
951 B
34 lines
951 B
---
|
|
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
|
|
|
|
|