feat(service_router): --bind flag for the local TCP UI listener #231
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_skills!231
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_mik_router_bind"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Surfaces hero_router's new
--bind(lhumina_code/hero_router#89) onservice_router start.Default
127.0.0.1preserves existing loopback-only behaviour.--bind 0.0.0.0is the public-cloud bootstrap mode — only safe behind an external auth + TLS gate (e.g. nginx + Let's Encrypt + htpasswd on a fresh DO/Hetzner/AWS droplet).Closes the consumer side of lhumina_code/home#227.
Behaviour
$bindis threaded intosvx_actionand emitted as--bind ($bind)on everyhero_routerscript invocation. hero_router's clap default is also127.0.0.1, so existing actions are byte-for-byte equivalent.--address(extra mycelium listener) keeps disabling the local listener via--port 0;--bindonly matters when--port != 0.--bind 0.0.0.0— the listener accepts on every interface, so loopback is always the right local probe target.--bind 0.0.0.0.Verification
nu -c "use nutools/modules/services/service_router.nu; service_router start --help"parses clean and surfaces the new flag.v0.2.4-rc1afterward and validating end-to-end on the DO bootstrap.Out of scope
cloud_vm.conf.templatefor nginx + LE + htpasswd lands separately underlhumina_code/hero_demo/deploy/nginx/.Signed-off-by: mik-tf