File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 7
7
services :
8
8
ntfy :
9
9
image : binwiederhier/ntfy
10
- container_name : ntfy
11
10
command :
12
11
- serve
13
12
environment :
14
- - TZ=${TZ:-UTC}
13
+ - SERVICE_FQDN_NTFY_80
15
14
- NTFY_BASE_URL=${SERVICE_FQDN_NTFY}
15
+ - TZ=${TZ:-UTC}
16
16
- NTFY_CACHE_FILE=/var/cache/ntfy/cache.db
17
17
- NTFY_AUTH_FILE=/var/lib/ntfy/auth.db
18
18
- NTFY_UPSTREAM_BASE_URL=${UPSTREAM_BASE_URL:-https://ntfy.sh}
@@ -36,12 +36,11 @@ services:
36
36
- NTFY_WEB_PUSH_PRIVATE_KEY=${NTFY_WEB_PUSH_PRIVATE_KEY}
37
37
- NTFY_WEB_PUSH_EMAIL_ADDRESS=${NTFY_WEB_PUSH_EMAIL_ADDRESS}
38
38
volumes :
39
- - ./ cache:/var/cache/ntfy
40
- - ./ db:/var/lib/ntfy/
39
+ - ntfy- cache:/var/cache/ntfy
40
+ - ntfy- db:/var/lib/ntfy/
41
41
healthcheck :
42
42
test : ["CMD-SHELL", "wget -q --tries=1 http://localhost:80/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"]
43
43
interval : 60s
44
44
timeout : 10s
45
45
retries : 3
46
46
start_period : 40s
47
- restart : unless-stopped
You can’t perform that action at this time.
0 commit comments