From 4098136326f466dfa2c0376ebdeb27cf05f4b472 Mon Sep 17 00:00:00 2001 From: feldjaeger Date: Sun, 12 Apr 2026 21:03:14 +0200 Subject: [PATCH] Initial commit: ntfy compose setup --- .gitignore | 3 +++ compose.yaml | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .gitignore create mode 100644 compose.yaml 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