diff --git a/templates/compose/audiobookshelf.yaml b/templates/compose/audiobookshelf.yaml index 81915676a..86b932240 100644 --- a/templates/compose/audiobookshelf.yaml +++ b/templates/compose/audiobookshelf.yaml @@ -9,9 +9,15 @@ services: image: ghcr.io/advplyr/audiobookshelf:latest environment: - SERVICE_FQDN_AUDIOBOOKSHELF_80 - - TZ=America/Toronto + - TZ=${TIMEZONE:-America/Toronto} volumes: - audiobookshelf-audiobooks:/audiobooks - audiobookshelf-podcasts:/podcasts - audiobookshelf-config:/config - audiobookshelf-metadata:/metadata + healthcheck: + test: ["CMD-SHELL", "curl -f http://localhost:80/ping || exit 1"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 15s