Create NTFY

This commit is contained in:
2026-04-28 22:02:08 -07:00
parent 468b1d3a70
commit ede4722b69
2 changed files with 25 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
# Port to expose ntfy on the host
NTFY_PORT=80
# Username used to build the bind mount paths (e.g. /home/<username>/ntfy/...)
NTFY_USERNAME=ntfy
# Timezone for the container (e.g. America/New_York)
TZ=America/Los_Angeles
+17
View File
@@ -0,0 +1,17 @@
services:
ntfy:
image: binwiederhier/ntfy:latest
container_name: ntfy
ports:
- "${NTFY_PORT}:80"
volumes:
- /home/${NTFY_USERNAME}/ntfy/server.yml:/etc/ntfy/server.yml
- /home/${NTFY_USERNAME}/ntfy/data:/var/lib/ntfy
environment:
- TZ=${TZ}
command: serve
deploy:
resources:
limits:
memory: 512M
restart: unless-stopped