app-store/apps/booksonic/docker-compose.yml
2022-11-11 20:33:58 +01:00

26 lines
839 B
YAML

version: "3.7"
services:
booksonic:
image: lscr.io/linuxserver/booksonic-air:latest
container_name: booksonic
environment:
- PUID=1000
- PGID=1000
- TZ=${TZ}
volumes:
- ${APP_DATA_DIR}/config:/config
- ${ROOT_FOLDER_HOST}/media/data/books/spoken:/audiobooks
- ${ROOT_FOLDER_HOST}/media/data/podcasts:/podcasts
ports:
- ${APP_PORT}:4040
restart: unless-stopped
networks:
- tipi_main_network
labels:
traefik.enable: ${APP_EXPOSED}
traefik.http.routers.booksonic.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.booksonic.entrypoints: websecure
traefik.http.routers.booksonic.service: booksonic
traefik.http.routers.booksonic.tls.certresolver: myresolver
traefik.http.services.booksonic.loadbalancer.server.port: 4040