Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: listen on loopback for API and gateway ports in docker-compose.yaml #8773

Merged
merged 1 commit into from
Mar 9, 2022

Conversation

guseggert
Copy link
Contributor

@guseggert guseggert commented Mar 8, 2022

Copy link
Contributor

@Jorropo Jorropo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+2

# The following ports only listen on the loopback interface, so are not remotely reachable by default.
# If you want to override these or add more ports, see https://docs.docker.com/compose/extends/ .

# API port, which includes admin operations, so you probably don't want this remotely accessible.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just saying "you shouldn't do that" or alike isn't enough for people to not do it.
We need to propose alternative solutions.

In a future patch I'll add a link to docs explaining SSH tunnels and reverse proxy (don't exists yet).

@BigLep BigLep added this to the go-ipfs 0.13 milestone Mar 8, 2022
@guseggert guseggert merged commit 816a128 into master Mar 9, 2022
@guseggert guseggert deleted the docker-compose-fix branch March 9, 2022 15:31
guseggert added a commit that referenced this pull request Mar 16, 2022
aschmahmann pushed a commit that referenced this pull request Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants