1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ntfy_ynh.git synced 2024-09-03 19:46:27 +02:00

Merge pull request #34 from YunoHost-Apps/fix-access

ntfy needs to be publicly exposed to properly work
This commit is contained in:
OniriCorpe 2024-01-16 20:12:13 +01:00 committed by GitHub
commit 65c1166b91
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 36 additions and 31 deletions

View file

@ -32,44 +32,46 @@ ram.build = "50M"
ram.runtime = "50M" ram.runtime = "50M"
[install] [install]
[install.domain] [install.domain]
type = "domain" type = "domain"
[install.init_main_permission] [install.init_main_permission]
type = "group" type = "group"
default = "visitors" default = "visitors"
[install.admin] [install.admin]
type = "user" type = "user"
[install.password] [install.password]
type = "password" type = "password"
[resources] [resources]
[resources.sources] [resources.sources]
[resources.sources.main] [resources.sources.main]
autoupdate.strategy = "latest_github_release" autoupdate.strategy = "latest_github_release"
autoupdate.asset.amd64 = '.*_linux_amd64\.tar\.gz' autoupdate.asset.amd64 = '.*_linux_amd64\.tar\.gz'
autoupdate.asset.arm64 = '.*_linux_arm64\.tar\.gz' autoupdate.asset.arm64 = '.*_linux_arm64\.tar\.gz'
autoupdate.asset.armhf = '.*_linux_armv7\.tar\.gz' autoupdate.asset.armhf = '.*_linux_armv7\.tar\.gz'
amd64.url = "https://github.com/binwiederhier/ntfy/releases/download/v2.8.0/ntfy_2.8.0_linux_amd64.tar.gz" amd64.url = "https://github.com/binwiederhier/ntfy/releases/download/v2.8.0/ntfy_2.8.0_linux_amd64.tar.gz"
amd64.sha256 = "7158312a9f6e49daf94355e63a8fa73e04f3c2d5defc2bba0cbf3e35fdf7bf9a" amd64.sha256 = "7158312a9f6e49daf94355e63a8fa73e04f3c2d5defc2bba0cbf3e35fdf7bf9a"
arm64.url = "https://github.com/binwiederhier/ntfy/releases/download/v2.8.0/ntfy_2.8.0_linux_arm64.tar.gz" arm64.url = "https://github.com/binwiederhier/ntfy/releases/download/v2.8.0/ntfy_2.8.0_linux_arm64.tar.gz"
arm64.sha256 = "918d0a81355288ef60e8ef0d0587630f069c5c75909a12d6abbdb2e1628dbc52" arm64.sha256 = "918d0a81355288ef60e8ef0d0587630f069c5c75909a12d6abbdb2e1628dbc52"
armhf.url = "https://github.com/binwiederhier/ntfy/releases/download/v2.8.0/ntfy_2.8.0_linux_armv7.tar.gz" armhf.url = "https://github.com/binwiederhier/ntfy/releases/download/v2.8.0/ntfy_2.8.0_linux_armv7.tar.gz"
armhf.sha256 ="bf63f969b64889158bb0daa2f55f2e3356516a0c4ff2f57d0392a0c7df0abefc" armhf.sha256 = "bf63f969b64889158bb0daa2f55f2e3356516a0c4ff2f57d0392a0c7df0abefc"
[resources.system_user] [resources.system_user]
[resources.install_dir] [resources.install_dir]
[resources.permissions] [resources.permissions]
main.url = "/" main.url = "/"
main.auth_header = false main.auth_header = false
main.protected = true
main.allowed = "visitors"
[resources.ports] [resources.ports]
main.default = 8080 main.default = 8080

View file

@ -1,6 +1,9 @@
test_format = 1.0 test_format = 1.0
# ntfy needs to be publicly exposed to properly work, see #34
exclude = "install.private"
[default] [default]
test_upgrade_from.727dfd9.name = "Upgrade from 2.6.2~ynh1" test_upgrade_from.727dfd9.name = "Upgrade from 2.6.2~ynh1"
test_upgrade_from.e89c0fb.name = "Upgrade from 2.5.0~ynh1" test_upgrade_from.e89c0fb.name = "Upgrade from 2.5.0~ynh1"
#test_upgrade_from.5b729db.name = "Upgrade from 2.4.0~ynh1" #test_upgrade_from.5b729db.name = "Upgrade from 2.4.0~ynh1"