Skip to content

Commit 1d4dd40

Browse files
committed
fix joplin healthcheck
1 parent 482016b commit 1d4dd40

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

templates/compose/joplin.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,8 @@ services:
3939
- POSTGRES_PORT=5432
4040
- POSTGRES_HOST=postgres
4141
# Default login is "admin@localhost" and password "admin"
42-
42+
healthcheck:
43+
test: ["CMD-SHELL", "bash -c ':> /dev/tcp/127.0.0.1/22300' || exit 1"]
44+
interval: 5s
45+
timeout: 20s
46+
retries: 3

templates/service-templates.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)