Skip to content

Update docker-entrypoint.sh#1370

Open
BOT9315 wants to merge 1 commit into
ruvnet:mainfrom
BOT9315:patch-3
Open

Update docker-entrypoint.sh#1370
BOT9315 wants to merge 1 commit into
ruvnet:mainfrom
BOT9315:patch-3

Conversation

@BOT9315

@BOT9315 BOT9315 commented Jul 20, 2026

Copy link
Copy Markdown

RuView sensing-server entrypoint - hardened version

Fixes ruvnet/RuView issue #864:

Original behavior started the server with --bind-addr 0.0.0.0 always,

regardless of whether RUVIEW_API_TOKEN was set, meaning the default

Docker path exposed live sensing/pose data with auth silently OFF.

This version:

1. Refuses to start bound to a non-loopback address unless

RUVIEW_API_TOKEN is set AND RUVIEW_LAN_MODE=1 is explicitly passed

(fail-closed instead of fail-open).

2. Defaults RUVIEW_BIND_ADDR to 127.0.0.1 instead of 0.0.0.0.

3. Logs the actual auth/bind posture loudly on startup so it's obvious

what mode you're running in (matches the log lines referenced in

the original bug report, kept for compatibility with tooling that

parses them).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant