From ce352eb590b8faf99d86b396ea24319626f55edc Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Tue, 8 Oct 2024 22:49:09 +0200 Subject: [PATCH] fix audiobookshelf --- templates/compose/audiobookshelf.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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