Skip to content

Only publish Stringer's port on localhost - #1726

Merged
mockdeep merged 1 commit into
mainfrom
compose-localhost-port
Nov 28, 2026
Merged

mockdeep merged 1 commit into
mainfrom
compose-localhost-port

Conversation

@mockdeep

Copy link
Copy Markdown
Collaborator

What

Publish the compose file's port as 127.0.0.1:8080:8080 instead of
80:8080, drop the outdated version: '3' line, and update the
Docker docs to match, including how to reach Stringer from a proxy
running in its own container.

Why

Part of #1051. Stringer expects a reverse proxy in front of it, so it
doesn't need to be open to the network. Using a port above 1024 also
lets it run in rootless Podman. Newer Compose versions warn about the
version line.

Notes

Anyone using the compose file without a proxy will need to visit
localhost:8080 instead of port 80.

**What**

Publish the compose file's port as `127.0.0.1:8080:8080` instead of
`80:8080`, drop the outdated `version: '3'` line, and update the
Docker docs to match, including how to reach Stringer from a proxy
running in its own container.

**Why**

Part of #1051. Stringer expects a reverse proxy in front of it, so it
doesn't need to be open to the network. Using a port above 1024 also
lets it run in rootless Podman. Newer Compose versions warn about the
`version` line.

**Notes**

Anyone using the compose file without a proxy will need to visit
`localhost:8080` instead of port 80.
@mockdeep mockdeep self-assigned this Nov 28, 2026
@mockdeep
mockdeep enabled auto-merge (squash) November 28, 2026 18:33
@mockdeep
mockdeep merged commit 0b9a7ca into main Nov 28, 2026
4 checks passed
@mockdeep
mockdeep deleted the compose-localhost-port branch November 28, 2026 18:36
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