Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix audiobookshelf

peaklabs-devce352eb590b8
diff --git a/templates/compose/audiobookshelf.yaml b/templates/compose/audiobookshelf.yaml
index 81915676a7..86b9322402 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