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/