Compare commits

...

2 Commits

Author SHA1 Message Date
derekc a60b7f4cb2 Merge branch 'main' of https://git.chns.tech/CHNS/Docker-Compose 2026-04-28 22:02:10 -07:00
derekc ede4722b69 Create NTFY 2026-04-28 22:02:08 -07:00
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