add-ntfy #54

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

View file

@ -46,8 +46,8 @@ Rule of thumb: keep ports below 10000 free for stuff that reserves ports.
| 22070 | paperless-ng | gunicorn |
| 22080 | netbox | gunicorn |
| 22090 | openhab | http |
| 22091 | ntfy | http |
| 22999 | nginx | stub_status |
| 22100 | ntfy | http |
## UDP
| Port | bundle | usage |

View file

@ -19,7 +19,7 @@ base-url: "https://${node.metadata.get('ntfy/domain', 'ntfy')}"
# To listen on all interfaces, you may omit the IP address, e.g. ":443".
# To disable HTTP, set "listen-http" to "-".
#
listen-http: "127.0.0.1:22091"
listen-http: "127.0.0.1:22100"
# listen-https:
# Listen on a Unix socket, e.g. /var/lib/ntfy/ntfy.sock

View file

@ -34,7 +34,7 @@ defaults = {
'directory:/var/lib/ntfy',
},
},
'tank/ntfy/attachmetns': {
'tank/ntfy/attachments': {
'mountpoint': '/var/opt/ntfy',
'needed_by': {
'directory:/var/opt/ntfy',
@ -53,7 +53,7 @@ def nginx(metadata):
locations = {
'/': {
'target': 'http://127.0.0.1:22091',
'target': 'http://127.0.0.1:22100',
'proxy_set_header': {
'X-Real-IP': '$remote_addr',
},