b9f0f6dd5f
Co-authored-by: Copilot <copilot@github.com>
57 lines
2.8 KiB
JSON
57 lines
2.8 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.Hosting.Lifetime": "Information"
|
|
}
|
|
},
|
|
|
|
// ── Keycloak ──────────────────────────────────────────────────────────────────
|
|
// Worker runs on the host machine → use localhost URLs for admin API calls.
|
|
// These are the shared platform Keycloak credentials from infra/docker-compose.yml.
|
|
// Aspire no longer injects these — they live here.
|
|
"Keycloak": {
|
|
"AuthServerUrl": "http://localhost:8080",
|
|
"AdminUser": "admin",
|
|
"AdminPassword": "Admin1234!",
|
|
"Realm": "master",
|
|
"Resource": "admin-cli"
|
|
},
|
|
|
|
// ── Vault ─────────────────────────────────────────────────────────────────────
|
|
// Worker uses localhost:8200 for admin calls.
|
|
// Vault:KeysFile is machine-specific → set in appsettings.Development.json.
|
|
"Vault": {
|
|
"Address": "http://localhost:8200",
|
|
"ContainerAddress": "http://vault:8200"
|
|
},
|
|
|
|
// ── ClarityInfraOptions (Clarity section) ─────────────────────────────────────
|
|
// These values describe what gets injected INTO tenant containers at docker run time.
|
|
// Containers live on clarity-net → use Docker DNS names (keycloak, vault, postgres).
|
|
// Nginx/dnsmasq surface these at public DNS names for the browser.
|
|
"Clarity": {
|
|
"Domain": "clarity.test",
|
|
"Network": "clarity-net",
|
|
"KeycloakPublicUrl": "https://keycloak.clarity.test",
|
|
"KeycloakInternalUrl": "http://keycloak:8080",
|
|
"VaultInternalUrl": "http://vault:8200",
|
|
"NginxCertPath": "/etc/nginx/certs/clarity.test.crt",
|
|
"NginxCertKeyPath": "/etc/nginx/certs/clarity.test.key"
|
|
},
|
|
|
|
// ── Docker ───────────────────────────────────────────────────────────────────
|
|
"Docker": {
|
|
"Socket": "npipe://./pipe/docker_engine",
|
|
"ClarityServerImage": "clarity-server:latest"
|
|
},
|
|
|
|
// ── Connection strings ────────────────────────────────────────────────────────
|
|
// platformdb: the shared infra postgres from infra/docker-compose.yml.
|
|
// Worker connects on localhost:5432 for tenant DB provisioning (MigrationStep).
|
|
// Aspire-managed opcdb (port 5433) is injected separately by AppHost via .WithReference.
|
|
"ConnectionStrings": {
|
|
"platformdb": "Host=localhost;Port=5432;Username=postgres;Password=postgres"
|
|
}
|
|
}
|