Skip to content

Commit d5e6a64

Browse files
cleanup
1 parent 58831b8 commit d5e6a64

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

templates/compose/ntfy.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ services:
1212
- serve
1313
environment:
1414
- TZ=${TZ:-UTC}
15-
- 'NTFY_BASE_URL=${SERVICE_FQDN_NTFY}'
15+
- NTFY_BASE_URL=${SERVICE_FQDN_NTFY}
1616
- NTFY_CACHE_FILE=/var/cache/ntfy/cache.db
1717
- NTFY_AUTH_FILE=/var/lib/ntfy/auth.db
1818
- NTFY_AUTH_DEFAULT_ACCESS=read-write
19-
- 'NTFY_UPSTREAM_BASE_URL=https://ntfy.sh'
19+
- NTFY_UPSTREAM_BASE_URL=${UPSTREAM_BASE_URL:-https://ntfy.sh}
2020
- NTFY_ENABLE_SIGNUP=${NTFY_ENABLE_SIGNUP:-true}
2121
- NTFY_ENABLE_LOGIN=${NTFY_ENABLE_LOGIN:-true}
2222
- NTFY_CACHE_DURATION=${NTFY_CACHE_DURATION:-24h}
@@ -41,9 +41,7 @@ services:
4141
- ./cache:/var/cache/ntfy
4242
- ./db:/var/lib/ntfy/
4343
healthcheck:
44-
test:
45-
- CMD-SHELL
46-
- 'wget -q --tries=1 http://localhost:80/v1/health -O - | grep -Eo ''"healthy"\s*:\s*true'' || exit 1'
44+
test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:80/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"]
4745
interval: 60s
4846
timeout: 10s
4947
retries: 3

0 commit comments

Comments
 (0)