docker-setup.sh: add --hub-customer/--hub-password flags for Hub config download
When both flags are provided, the wizard downloads a pre-configured controller.yaml from the Hub API, extracts key variables for subsequent setup steps, and skips the interactive wizard entirely. Falls back to manual wizard on failure. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
## Changelog
|
||||
|
||||
### What was just completed (2026-02-20 session 62)
|
||||
- **docker-setup.sh — Hub Config Download:**
|
||||
- Added `--hub-customer` and `--hub-password` CLI flags for downloading pre-configured controller.yaml from Felhom Hub
|
||||
- Added `HUB_URL` global variable (default: `https://hub.felhom.eu`)
|
||||
- Hub download logic at start of `run_config_wizard()`: downloads YAML via `curl` with `X-Retrieval-Password` header, validates response, extracts key variables (domain, CF tokens, email), sets global variables for subsequent setup steps
|
||||
- Falls back to interactive wizard if download fails or credentials not provided
|
||||
|
||||
### What was just completed (2026-02-20 session 61)
|
||||
- **v0.19.0 — Deployed App Removal + Missing Field Injection:**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user