8000 fix(docker): publish the dev sensor ports on this machine only by adeelahmad · Pull Request #204 · adeelahmad/lense · GitHub
[go: up one dir, main page]

Skip to content

fix(docker): publish the dev sensor ports on this machine only - #204

Merged
adeelahmad merged 1 commit into
mainfrom
claude/project-thread-qt650x-dev-sensor-ports
Oct 6, 2026
Merged

adeelahmad merged 1 commit into
mainfrom
claude/project-thread-qt650x-dev-sensor-ports

Conversation

@adeelahmad
Copy link
Copy Markdown
Owner

Requested by Adeel · project thread

Description

Before: the development compose file published the sensor hub's MQTT (1883) and syslog (5514) ports on every network interface, so anyone on the same network as a developer's laptop could reach them.

After: docker-compose.yml publishes them on 127.0.0.1 only. LENS_SENSOR_BIND=0.0.0.0 opens them to the network again for testing real devices. The production compose file is unchanged, so existing installs and their LAN sensors keep working.

Motivation and Context

This answers threat-model question Q36 for development. Changing the production file is held, because sensors on the network would stop connecting.

Steps to reproduce (if appropriate):

docker compose config shows the ports bound to 127.0.0.1.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change; ! in the title)

Checklist:

  • The title is a Conventional Commit.
  • My code follows the code style of this project (make hooks checks it on commit).
  • I added or updated tests.
  • My change requires documentation updates, and I have updated docs/ accordingly.
  • Users need more than the title to understand it, so I wrote it under ## Unreleased in CHANGELOG.md.

🤖 Generated with Claude Code

https://claude.ai/code/session_01W42z4FbekWr33b6791svQQ


Generated by Claude Code

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W42z4FbekWr33b6791svQQ
@adeelahmad adeelahmad self-assigned this Oct 6, 2026
@adeelahmad
adeelahmad merged commit 7b62133 into main Oct 6, 2026
7 checks passed
@adeelahmad
adeelahmad deleted the claude/project-thread-qt650x-dev-sensor-ports branch October 6, 2026 11:00
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.

2 participants

0