diff --git a/manifest.toml b/manifest.toml index 53b9ff6..abdb5dc 100644 --- a/manifest.toml +++ b/manifest.toml @@ -1,3 +1,5 @@ +#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json + packaging_format = 2 id = "lemmy" @@ -39,17 +41,26 @@ ram.runtime = "50M" [resources] [resources.sources] - [resources.sources.main] - url = "https://github.com/jjlin/docker-image-extract/archive/b664b29a1de37d25f732e885e1331a8e90f67dcd.tar.gz" - sha256 = "7b2c8baeec6e9a67c905d4d55e4dc0944815cf55bd6bf11fadbb6eb8990b4912" - autoupdate.upstream = "https://github.com/jjlin/docker-image-extract" - autoupdate.strategy = "latest_github_commit" + [resources.sources.main] + url = "https://github.com/LemmyNet/lemmy/archive/refs/tags/0.19.5.tar.gz" + sha256 = "55fc078688867ce662416f6eaf1fabe33d6a9551226abbc341ec4b42dcf78610" + # Actually not used, just here for autoupdate + prefetch = false + autoupdate.strategy = "latest_github_tag" - [resources.sources.lemmy-translations] - url = "https://github.com/LemmyNet/lemmy-translations/archive/f1602a5993c426d56ebb7c98a8453fbfb482e9a7.tar.gz" - sha256 = "570d3f8c1ab13dbf72fd2f2f6d7a930a5fd7233259fbd0f1b156205524f0e4c3" - autoupdate.upstream = "https://github.com/LemmyNet/lemmy-translations/" - autoupdate.strategy = "latest_github_commit" + [resources.sources.docker-image-extract] + url = "https://github.com/jjlin/docker-image-extract/archive/b664b29a1de37d25f732e885e1331a8e90f67dcd.tar.gz" + sha256 = "7b2c8baeec6e9a67c905d4d55e4dc0944815cf55bd6bf11fadbb6eb8990b4912" + + autoupdate.upstream = "https://github.com/jjlin/docker-image-extract" + autoupdate.strategy = "latest_github_commit" + + [resources.sources.lemmy-translations] + url = "https://github.com/LemmyNet/lemmy-translations/archive/f1602a5993c426d56ebb7c98a8453fbfb482e9a7.tar.gz" + sha256 = "570d3f8c1ab13dbf72fd2f2f6d7a930a5fd7233259fbd0f1b156205524f0e4c3" + + autoupdate.upstream = "https://github.com/LemmyNet/lemmy-translations/" + autoupdate.strategy = "latest_github_commit" [resources.ports] main.default = 8536 @@ -71,7 +82,7 @@ ram.runtime = "50M" pictrs.allowed = "visitors" pictrs.show_tile = false pictrs.protected = true - + api.url = "/api" api.allowed = "visitors" api.auth_header = false