From 75c6af878047dc78ef428ac1ab5cfccf66fc9775 Mon Sep 17 00:00:00 2001 From: Colin Hebert Date: Mon, 26 Dec 2022 10:41:40 +0100 Subject: [PATCH] Introduce Gotify --- mounts/gotify/data/README.md | 0 notifications.docker-compose.yaml | 27 +++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 mounts/gotify/data/README.md create mode 100644 notifications.docker-compose.yaml diff --git a/mounts/gotify/data/README.md b/mounts/gotify/data/README.md new file mode 100644 index 0000000..e69de29 diff --git a/notifications.docker-compose.yaml b/notifications.docker-compose.yaml new file mode 100644 index 0000000..ee37a7c --- /dev/null +++ b/notifications.docker-compose.yaml @@ -0,0 +1,27 @@ +name: Notifications + +services: + gotify: + image: gotify/server + networks: + - gotify + - traefik + volumes: + - gotify:/app/data + restart: unless-stopped + labels: + traefik.enable: true + traefik.http.routers.gotify.rule: HostRegexp(`gotify{subdomain:(\.[a-z0-9-]+)?}.dedicated.contact`) + +networks: + gotify: + name: gotify + traefik: + external: true + +volumes: + gotify: + driver_opts: + type: none + o: bind + device: ${MOUNT_DIR?}/gotify/data/