Added ntfy
parent
0f1c5f8163
commit
6d8b53ed99
@ -0,0 +1,32 @@
|
||||
# docker-compose.yml
|
||||
# Docker Hub: https://hub.docker.com/r/binwiederhier/ntfy
|
||||
# The WebUI can be found at http://<HOST_IP>:<WEBUI_PORT>
|
||||
|
||||
networks:
|
||||
<NETWORK_NAME>:
|
||||
external: true
|
||||
|
||||
services:
|
||||
ntfy:
|
||||
command:
|
||||
- serve
|
||||
container_name: ntfy
|
||||
environment:
|
||||
- TZ=<TZ>
|
||||
healthcheck: # optional: remember to adapt the host:port to your environment
|
||||
test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:80/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"]
|
||||
interval: 60s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
image: binwiederhier/ntfy:<VERSION_TAG>
|
||||
networks:
|
||||
- <NETWORK_NAME>
|
||||
ports:
|
||||
- "80:80" # WebUI Port
|
||||
restart: unless-stopped
|
||||
user: "<PUID>:<PGID>"
|
||||
volumes:
|
||||
- ./server:/etc/ntfy
|
||||
- ./user:/var/lib/ntfy
|
||||
- ./cache:/var/cache/ntfy
|
Loading…
Reference in New Issue