Initial commit: ntfy compose setup

This commit is contained in:
feldjaeger 2026-04-12 21:03:14 +02:00
commit 4098136326
2 changed files with 24 additions and 0 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
data/
config/
.env

21
compose.yaml Normal file
View file

@ -0,0 +1,21 @@
services:
ntfy:
image: binwiederhier/ntfy:latest
container_name: ntfy
restart: unless-stopped
ports:
- "80:80"
environment:
- NTFY_BASE_URL=http://10.4.1.110
- NTFY_UPSTREAM_BASE_URL=https://ntfy.sh
- NTFY_CACHE_FILE=/var/cache/ntfy/cache.db
- NTFY_UPSTREAM_ACCESS_TOKEN_FILE=/etc/ntfy/upstream_token
volumes:
- ./data:/var/cache/ntfy
- ./config:/etc/ntfy
networks:
- ntfy-net
networks:
ntfy-net:
driver: bridge