commit 4098136326f466dfa2c0376ebdeb27cf05f4b472 Author: feldjaeger Date: Sun Apr 12 21:03:14 2026 +0200 Initial commit: ntfy compose setup diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0313930 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +data/ +config/ +.env diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..e674361 --- /dev/null +++ b/compose.yaml @@ -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