0.1.38 gateway

This commit is contained in:
ponzischeme89
2026-08-14 09:40:03 +12:00
parent abc392d30b
commit 5e2ed3d12e
2847 changed files with 1072928 additions and 3783 deletions
+7
View File
@@ -68,6 +68,12 @@ type Config struct {
// unconfigured deployment cannot leave it exposed.
AdminToken string
// AdminUIURL is where the console's own container serves its built assets. It is an
// internal compose address: memby-admin is never published, and the gateway proxies
// /admin to it so the console shares this origin, this cookie and this ingress.
// Blank disables the console while leaving the /admin API intact for automation.
AdminUIURL string
// PublicURL is the externally reachable Memby gateway address used in update links.
PublicURL string
// ReleaseDir persists signed APKs published by CI.
@@ -176,6 +182,7 @@ func Load() (Config, error) {
RemoteConfig: remoteConfig,
AdminToken: strings.TrimSpace(os.Getenv("MEMBY_ADMIN_TOKEN")),
AdminUIURL: env("MEMBY_ADMIN_UI_URL", "http://memby-admin:80"),
PublicURL: strings.TrimRight(strings.TrimSpace(os.Getenv("MEMBY_PUBLIC_URL")), "/"),
ReleaseDir: env("MEMBY_RELEASE_DIR", "/data/releases"),
ReleasePublishToken: strings.TrimSpace(