Compare commits
2 Commits
1ef0016965
...
b2259328d3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b2259328d3 | ||
| 8227483580 |
@@ -86,6 +86,9 @@ Settings can be provided via CLI flags, environment variables, config file (`cam
|
||||
|---------|----------|---------|------------|---------|
|
||||
| Admin username | `--admin-user` | `SAAS_ADMIN_USER` | `admin_user` | `admin` |
|
||||
| Admin password | `--admin-password` | `SAAS_ADMIN_PASS` | `admin_password` | auto-generated |
|
||||
| Admin email | `--admin-email` | `SAAS_ADMIN_EMAIL` | `admin_email` | `<username>@<PUBLIC_HOST>` |
|
||||
|
||||
Email is the primary user identity in SaaS mode. All users — including the admin — must have an email address. If `SAAS_ADMIN_EMAIL` is not set, the bootstrap derives it from `<SAAS_ADMIN_USER>@<PUBLIC_HOST>`.
|
||||
|
||||
In standalone mode, the env vars are `SERVER_ADMIN_USER` / `SERVER_ADMIN_PASS`.
|
||||
|
||||
|
||||
@@ -1485,10 +1485,6 @@ function Main {
|
||||
Generate-Passwords
|
||||
|
||||
# Resolve to absolute path NOW.
|
||||
# [System.IO.File]::WriteAllText uses .NET's Environment.CurrentDirectory,
|
||||
# which differs from PowerShell's $PWD on Windows (e.g. resolves ./cameleer
|
||||
# to C:\Users\Hendrik\cameleer instead of the script's working directory).
|
||||
# GetUnresolvedProviderPathFromPSPath always uses PowerShell's current location.
|
||||
$script:cfg.InstallDir = $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath(
|
||||
$script:cfg.InstallDir)
|
||||
|
||||
|
||||
@@ -50,8 +50,11 @@ CLICKHOUSE_PASSWORD=CHANGE_ME
|
||||
# ============================================================
|
||||
# Admin credentials (SaaS mode)
|
||||
# ============================================================
|
||||
# Email is the primary user identity in SaaS mode. The admin email
|
||||
# defaults to <SAAS_ADMIN_USER>@<PUBLIC_HOST> if not set explicitly.
|
||||
SAAS_ADMIN_USER=admin
|
||||
SAAS_ADMIN_PASS=CHANGE_ME
|
||||
# SAAS_ADMIN_EMAIL=admin@example.com
|
||||
|
||||
# ============================================================
|
||||
# Admin credentials (standalone mode)
|
||||
|
||||
@@ -27,6 +27,7 @@ services:
|
||||
PG_DB_SAAS: cameleer_saas
|
||||
SAAS_ADMIN_USER: ${SAAS_ADMIN_USER:-admin}
|
||||
SAAS_ADMIN_PASS: ${SAAS_ADMIN_PASS:?SAAS_ADMIN_PASS must be set in .env}
|
||||
SAAS_ADMIN_EMAIL: ${SAAS_ADMIN_EMAIL:-}
|
||||
extra_hosts:
|
||||
# Logto validates M2M tokens by fetching its own JWKS from ENDPOINT.
|
||||
# Route the public hostname back to the Docker host (Traefik on :443)
|
||||
|
||||
Reference in New Issue
Block a user