add-ntfy #54

Merged
sophie merged 5 commits from add-ntfy into main 2022-10-23 13:15:12 +00:00
4 changed files with 33 additions and 3 deletions
Showing only changes of commit 6e23f84a39 - Show all commits

View file

@ -11,7 +11,7 @@
# - iOS push notifications for self-hosted servers (to calculate the Firebase poll_request topic) # - iOS push notifications for self-hosted servers (to calculate the Firebase poll_request topic)
# - Matrix Push Gateway (to validate that the pushkey is correct) # - Matrix Push Gateway (to validate that the pushkey is correct)
# #
base-url: "${metadata.get['ntfy/baseurl']}" base-url: "https://${node.metadata.get('ntfy/domain', 'ntfy')}"
# Listen address for the HTTP & HTTPS web server. If "listen-https" is set, you must also # Listen address for the HTTP & HTTPS web server. If "listen-https" is set, you must also
# set "key-file" and "cert-file". Format: [<ip>]:<port>, e.g. "1.2.3.4:8080". # set "key-file" and "cert-file". Format: [<ip>]:<port>, e.g. "1.2.3.4:8080".

View file

@ -69,7 +69,7 @@ def nginx(metadata):
vhosts = { vhosts = {
'ntfy': { 'ntfy': {
'domain': metadata.get('ntfy/baseurl'), 'domain': metadata.get('ntfy/domain'),
'locations': locations, 'locations': locations,
'website_check_path': '/', 'website_check_path': '/',
'website_check_string': 'ntfy', 'website_check_string': 'ntfy',

View file

@ -0,0 +1,30 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQENBF/s8c4BCADYjQMKxdvlx4UxNim0go6J/OL7DuTmoQkkTDtOoBFhQMe3xpkc
tS1v+Hio1odIoT+fXOzgLJ7VGw5Cr3LCoGfpopHMEWnFWBo8HvNxjKCvmVC6PLux
LJFWvhIB2UsBQVAsLcSViIpkZMr1oyY6c8Vk1Xih1FwWsygapQnAAGYXoBoTpgtX
PAFKd5h85hzEv62SM88PdJn3Q8cfi11H0yWQVfOUKVqN6rfjXJMufNsOooXA6/VN
wT0ysyKkq5hPZ56olb41BxlLHNJRksVtvZnldTLebJ8dKUFwp/Y0cQRPSo+yuOg2
bZsyhYGoFnN4J5QYsszd2zLxZCL37rs8ArbtABEBAA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zrL6ZdBK9avXLldnsXn667nbyhkxgZUaEXkhcRm/Zh9fw6vaJ2PR9UzLQm
SotJqLlV9yZP6usmiQ8NF0o3MsFuDVk0Ae7XvGtKTBuMMZUSwy9BMudSLsoFMd53
5Obby3ETwi4QUamDlz3StJQhBhTiFSYY+9nvGW5VsLYpGVGaXlAElk4KcA==
=ztKz
-----END PGP PUBLIC KEY BLOCK-----

View file

@ -220,7 +220,7 @@ nodes['htz-cloud.miniserver'] = {
}, },
}, },
'ntfy': { 'ntfy': {
'baseurl': 'https://ntfy.sophies-kitchen.eu', 'domain': 'ntfy.sophies-kitchen.eu',
}, },
'postgresql': { 'postgresql': {
'version': '11', 'version': '11',