installer: add soft-serve
diff --git a/core/installer/app.go b/core/installer/app.go
index f3d465b..c139071 100644
--- a/core/installer/app.go
+++ b/core/installer/app.go
@@ -119,6 +119,7 @@
CreateAppMaddy(valuesTmpls, tmpls),
CreateAppQBittorrent(valuesTmpls, tmpls),
CreateAppJellyfin(valuesTmpls, tmpls),
+ CreateAppSoftServe(valuesTmpls, tmpls),
CreateAppRpuppy(valuesTmpls, tmpls),
}
}
@@ -331,6 +332,26 @@
}
}
+func CreateAppSoftServe(fs embed.FS, tmpls *template.Template) StoreApp {
+ schema, err := fs.ReadFile("values-tmpl/soft-serve.jsonschema")
+ if err != nil {
+ panic(err)
+ }
+ return StoreApp{
+ App{
+ "soft-serve",
+ []string{"app-soft-serve"},
+ []*template.Template{
+ tmpls.Lookup("soft-serve.yaml"),
+ },
+ string(schema),
+ tmpls.Lookup("soft-serve.md"),
+ },
+ `<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 48 48"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="4"><path stroke-linejoin="round" d="M15.34 22.5L21 37l3 6l3-6l5.66-14.5"/><path d="M19 32h10"/><path stroke-linejoin="round" d="M24 3c-6 0-8 6-8 6s-6 2-6 7s5 7 5 7s3.5-2 9-2s9 2 9 2s5-2 5-7s-6-7-6-7s-2-6-8-6Z"/></g></svg>`,
+ "A tasty, self-hostable Git server for the command line. 🍦",
+ }
+}
+
func CreateAppHeadscale(fs embed.FS, tmpls *template.Template) App {
schema, err := fs.ReadFile("values-tmpl/headscale.jsonschema")
if err != nil {