mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 05:35:30 +02:00
[GH-ISSUE #915] [Bug]: 127.0.0.1 Bind Not being parsed to docker container #632
Labels
No labels
A1
automated
automated
bug
bug
Closed due to inactivity
contrib
dependencies
dependencies
duplicate
enhancement
feedback
hold
invalid
Notes
P1S
pull-request
security
security
ThumbsUp
user-report
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bambuddy#632
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @ThevinduW on GitHub (Apr 8, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/915
Originally assigned to: @maziggy on GitHub.
Bug Description
Using the docker install script to only advertise Bambuddy on localhost is not working
Expected Behavior
The Bambuddy service should not be accessible from other devices on the network.
Steps to Reproduce
Printer Model
Not printer-related
Bambuddy Version
0.2.2.2
Printer Firmware Version
Not printer related
Installation Method
Docker
Operating System
Linux (Ubuntu/Debian)
Relevant Logs / Support Package
No response
Screenshots
No response
Additional Context
It appears the BIND_ADDRESS never gets parsed into the container at Dockerfile
This is my first time contributing to a public repository. I am sorry in advance if I have raised this issue in haste. Happy to fix if assigned!
Checklist
@maziggy commented on GitHub (Apr 8, 2026):
You're right — the BIND_ADDRESS from the install script is never actually passed through to the Docker container. The Dockerfile hardcodes --host 0.0.0.0 for uvicorn, so the setting has no effect.
That said, even if we wired it through, binding to 127.0.0.1 wouldn't really achieve the goal of making BamBuddy inaccessible from the network — the web UI is only one of several services (FTP, MQTT, SSDP) that listen on the network for printer communication.
I'll remove the --bind option from the install script since it's non-functional and misleading. If you need to restrict access to the web UI, a firewall rule or reverse proxy would be the way to go.