From a8a09e7ceee756439b3e05323c0335459b1fe1bf Mon Sep 17 00:00:00 2001 From: morthimer Date: Sun, 9 Jun 2024 00:18:08 +0000 Subject: [PATCH] new: add Ntfy --- ntfy/compose.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 ntfy/compose.yml diff --git a/ntfy/compose.yml b/ntfy/compose.yml new file mode 100644 index 0000000..4e08fdf --- /dev/null +++ b/ntfy/compose.yml @@ -0,0 +1,28 @@ +services: + ntfy: + container_name: ntfy + image: binwiederhier/ntfy + command: serve + environment: + - TZ=Europe/Paris + volumes: + - /var/cache/ntfy:/var/cache/ntfy + - ./appconf:/etc/ntfy + restart: unless-stopped + networks: + - dmz + - monitoring + labels: + # Caddy + caddy: "*.{$$INT_DOMAIN}" + caddy.1_@ntfy: "host ntfy.{$$INT_DOMAIN}" + caddy.1_handle: "@ntfy" + caddy.1_handle.reverse_proxy: "{{upstreams 80}}" + # Diun + diun.enable: true + +networks: + dmz: + external: true + monitoring: + external: true \ No newline at end of file