Skip to content

Commit ce352eb

Browse files
committed
fix audiobookshelf
1 parent 3e5b0d9 commit ce352eb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

templates/compose/audiobookshelf.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,15 @@ services:
99
image: ghcr.io/advplyr/audiobookshelf:latest
1010
environment:
1111
- SERVICE_FQDN_AUDIOBOOKSHELF_80
12-
- TZ=America/Toronto
12+
- TZ=${TIMEZONE:-America/Toronto}
1313
volumes:
1414
- audiobookshelf-audiobooks:/audiobooks
1515
- audiobookshelf-podcasts:/podcasts
1616
- audiobookshelf-config:/config
1717
- audiobookshelf-metadata:/metadata
18+
healthcheck:
19+
test: ["CMD-SHELL", "curl -f http://localhost:80/ping || exit 1"]
20+
interval: 30s
21+
timeout: 10s
22+
retries: 3
23+
start_period: 15s

0 commit comments

Comments
 (0)