--- version: "3.8" services: audiobookshelf: image: advplyr/audiobookshelf container_name: audiobookshelf restart: unless-stopped environment: - DOMAIN_ROOT=${DOMAIN_ROOT} labels: - "traefik.http.services.audiobookshelf.loadbalancer.server.port=80" - "traefik.enable=true" - "traefik.http.routers.audiobookshelf.rule=Host(`audiobookshelf.${DOMAIN_ROOT}`)" - 'traefik.http.routers.audiobookshelf.middlewares=authelia@docker' volumes: - audiobookshelf_config:/config - audiobookshelf_metadata:/metadata - audiobookshelf_audiobooks:/audiobooks - audiobookshelf_podcasts:/podcasts networks: - home-proxy volumes: audiobookshelf_config: external: true audiobookshelf_metadata: external: true audiobookshelf_audiobooks: external: true audiobookshelf_podcasts: external: true networks: home-proxy: external: true