cleanup
This commit is contained in:
parent
58831b8992
commit
d5e6a643aa
1 changed files with 3 additions and 5 deletions
|
|
@ -12,11 +12,11 @@ services:
|
||||||
- serve
|
- serve
|
||||||
environment:
|
environment:
|
||||||
- TZ=${TZ:-UTC}
|
- TZ=${TZ:-UTC}
|
||||||
- 'NTFY_BASE_URL=${SERVICE_FQDN_NTFY}'
|
- NTFY_BASE_URL=${SERVICE_FQDN_NTFY}
|
||||||
- NTFY_CACHE_FILE=/var/cache/ntfy/cache.db
|
- NTFY_CACHE_FILE=/var/cache/ntfy/cache.db
|
||||||
- NTFY_AUTH_FILE=/var/lib/ntfy/auth.db
|
- NTFY_AUTH_FILE=/var/lib/ntfy/auth.db
|
||||||
- NTFY_AUTH_DEFAULT_ACCESS=read-write
|
- NTFY_AUTH_DEFAULT_ACCESS=read-write
|
||||||
- 'NTFY_UPSTREAM_BASE_URL=https://ntfy.sh'
|
- NTFY_UPSTREAM_BASE_URL=${UPSTREAM_BASE_URL:-https://ntfy.sh}
|
||||||
- NTFY_ENABLE_SIGNUP=${NTFY_ENABLE_SIGNUP:-true}
|
- NTFY_ENABLE_SIGNUP=${NTFY_ENABLE_SIGNUP:-true}
|
||||||
- NTFY_ENABLE_LOGIN=${NTFY_ENABLE_LOGIN:-true}
|
- NTFY_ENABLE_LOGIN=${NTFY_ENABLE_LOGIN:-true}
|
||||||
- NTFY_CACHE_DURATION=${NTFY_CACHE_DURATION:-24h}
|
- NTFY_CACHE_DURATION=${NTFY_CACHE_DURATION:-24h}
|
||||||
|
|
@ -41,9 +41,7 @@ services:
|
||||||
- ./cache:/var/cache/ntfy
|
- ./cache:/var/cache/ntfy
|
||||||
- ./db:/var/lib/ntfy/
|
- ./db:/var/lib/ntfy/
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:80/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"]
|
||||||
- CMD-SHELL
|
|
||||||
- 'wget -q --tries=1 http://localhost:80/v1/health -O - | grep -Eo ''"healthy"\s*:\s*true'' || exit 1'
|
|
||||||
interval: 60s
|
interval: 60s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue