mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1750] [Issue]: Docker Compose remote runtime fails from host browser without Docker bridge auth bypass #854
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#854
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 @cha1latte on GitHub (May 31, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1750
Originally assigned to: @cha1latte on GitHub.
Summary
When
marinara-serverruns throughdocker compose up, a browser on the same host can fail to use the Remote Runtime URL because the request reaches the container from the Docker bridge gateway IP instead of loopback.Expected behavior
A same-machine browser pointed at
http://127.0.0.1:8787should be able to reach the Docker Compose remote runtime without requiring users to configure LAN-style remote auth for the local Docker bridge path.Actual behavior
The runtime treats the Docker bridge gateway client IP, commonly
172.17.0.1, as non-loopback remote access. The security middleware rejects the request before the CORS layer adds browser-readable headers, so the browser surfaces the failure as a CORS error instead of a clear auth/configuration problem.Steps to reproduce
docker compose up --build.pnpm dev.http://127.0.0.1:8787.Impact area
Environment
http://127.0.0.1:8787Logs, screenshots, or video
Browser reports a CORS-style failure. Runtime-side behavior is an auth rejection before CORS headers are added for the browser response.
Regression notes
This is a Docker Compose remote-runtime configuration gap on the refactor branch.
Additional context
The fix should preserve same-machine Docker browser access while avoiding broad unauthenticated exposure on all host interfaces. Compose can enable the Docker bridge auth bypass while binding the published host port to
127.0.0.1.Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: