mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 19:06:34 +00:00
Server mints a dedicated admin API key on first boot (persisted plaintext encrypted in setup_state.extras) and POSTs a bf-server-config node into Node-RED's flow graph via /nrdp/flows. Idempotent — skips if any bf-server-config already exists, so user-owned configs win. New admin-http config 'selfUrl' (defaults to http://127.0.0.1:18080) tells Node-RED how to reach the BF server. Docker compose sets it to http://server:18080 so requests stay inside the compose network. |
||
|---|---|---|
| .. | ||
| docker-compose.yml | ||
| Dockerfile.nodered | ||
| Dockerfile.server | ||
| nodered-settings.js | ||
| sec-config.yaml | ||