diff --git a/installer/install.ps1 b/installer/install.ps1 index 2ba2db3..5406bbf 100644 --- a/installer/install.ps1 +++ b/installer/install.ps1 @@ -484,7 +484,14 @@ function Run-SimplePrompts { Write-Host '' $c.MonitoringNetwork = Prompt-Value 'Monitoring network name (empty = skip)' '' - + + Write-Host '' + if (Prompt-YesNo 'Pull images from a private registry?') { + $c.Registry = Prompt-Value 'Registry' (Coalesce $c.Registry $DEFAULT_REGISTRY) + $c.RegistryUser = Prompt-Value 'Registry username' (Coalesce $c.RegistryUser '') + $c.RegistryToken = Prompt-Password 'Registry token/password' (Coalesce $c.RegistryToken '') + } + Write-Host '' Write-Host ' Deployment mode:' Write-Host ' [1] Multi-tenant SaaS -- manage platform, provision tenants on demand' diff --git a/installer/install.sh b/installer/install.sh index f32b4d2..46a9de0 100644 --- a/installer/install.sh +++ b/installer/install.sh @@ -464,6 +464,13 @@ run_simple_prompts() { echo "" prompt MONITORING_NETWORK "Monitoring network name (empty = skip)" "" + echo "" + if prompt_yesno "Pull images from a private registry?"; then + prompt REGISTRY "Registry" "${REGISTRY:-$DEFAULT_REGISTRY}" + prompt REGISTRY_USER "Registry username" "${REGISTRY_USER:-}" + prompt_password REGISTRY_TOKEN "Registry token/password" "${REGISTRY_TOKEN:-}" + fi + echo "" echo " Deployment mode:" echo " [1] Multi-tenant SaaS — manage platform, provision tenants on demand"