feat: Umami/ntfy 可观测性栈与 WordPress AdSense 部署
This commit is contained in:
24
deploy/ntfy/docker-compose.yml
Normal file
24
deploy/ntfy/docker-compose.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
# ntfy push notifications — bind localhost; Caddy at ntfy.nomadro.com
|
||||
services:
|
||||
ntfy:
|
||||
image: binwiederhier/ntfy:latest
|
||||
restart: unless-stopped
|
||||
command: serve
|
||||
ports:
|
||||
- "127.0.0.1:2586:80"
|
||||
environment:
|
||||
TZ: UTC
|
||||
volumes:
|
||||
- ./server.yml:/etc/ntfy/server.yml:ro
|
||||
- ntfy_cache:/var/cache/ntfy
|
||||
- ntfy_data:/var/lib/ntfy
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:80/v1/health | grep -q '\"healthy\":true' || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 20s
|
||||
|
||||
volumes:
|
||||
ntfy_cache:
|
||||
ntfy_data:
|
||||
Reference in New Issue
Block a user