0.1.38 gateway
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user