1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/traccar_ynh.git synced 2024-09-03 20:35:56 +02:00
traccar_ynh/manifest.toml
eric_G 3f34bb1ecc
Merge pull request #19 from Thovi98/testing
Fix compatibility for Bookworm
2024-06-02 09:44:07 +02:00

83 lines
1.8 KiB
TOML

#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
packaging_format = 2
id = "traccar"
name = "Traccar"
description.en = "GPS tracking platform"
description.fr = "Plateforme de suivi GPS"
version = "6.2~ynh1"
maintainers = []
[upstream]
license = "GPL-3.0-only"
website = "https://www.traccar.org/"
demo = "https://www.traccar.org/demo-server/"
admindoc = "https://www.traccar.org/documentation/"
code = "https://github.com/traccar/traccar"
[integration]
yunohost = ">= 11.2"
architectures = "all"
multi_instance = true
ldap = false
sso = false
disk = "50M"
ram.build = "50M"
ram.runtime = "50M"
[install]
[install.domain]
type = "domain"
[install.init_main_permission]
type = "group"
default = "visitors"
[resources]
[resources.sources]
[resources.sources.main]
url = "https://github.com/traccar/traccar/releases/download/v6.2/traccar-other-6.2.zip"
sha256 = "e31645f3a6aa510265e69e6b6fadcec9babac3104fc969b41f2703de59b8eaaf"
in_subdir = false
format = "zip"
autoupdate.strategy = "latest_github_release"
autoupdate.asset = "^traccar-other-.*zip$"
[resources.system_user]
allow_email = true
[resources.install_dir]
[resources.data_dir]
[resources.permissions]
main.url = "/"
api.url = "/api"
api.additional_urls = [ "/?id=" ]
api.show_tile = false
api.allowed = "visitors"
api.auth_header = false
[resources.ports]
[resources.apt]
packages = "postgresql"
packages_from_raw_bash = """
if [[ $YNH_DEBIAN_VERSION == "bullseye" ]]; then
echo "openjdk-11-jre-headless";
elif [[ $YNH_DEBIAN_VERSION == "bookworm" ]]; then
echo "openjdk-17-jre-headless";
fi
"""
[resources.database]
type = "postgresql"