File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ services:
12
12
- serve
13
13
environment :
14
14
- TZ=${TZ:-UTC}
15
- - ' NTFY_BASE_URL=${SERVICE_FQDN_NTFY}'
15
+ - NTFY_BASE_URL=${SERVICE_FQDN_NTFY}
16
16
- NTFY_CACHE_FILE=/var/cache/ntfy/cache.db
17
17
- NTFY_AUTH_FILE=/var/lib/ntfy/auth.db
18
18
- 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}
20
20
- NTFY_ENABLE_SIGNUP=${NTFY_ENABLE_SIGNUP:-true}
21
21
- NTFY_ENABLE_LOGIN=${NTFY_ENABLE_LOGIN:-true}
22
22
- NTFY_CACHE_DURATION=${NTFY_CACHE_DURATION:-24h}
@@ -41,9 +41,7 @@ services:
41
41
- ./cache:/var/cache/ntfy
42
42
- ./db:/var/lib/ntfy/
43
43
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"]
47
45
interval : 60s
48
46
timeout : 10s
49
47
retries : 3
You can’t perform that action at this time.
0 commit comments