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(db): make local hostname configurable for docker-in-docker #1852

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

sweatybridge
Copy link
Contributor

@sweatybridge sweatybridge commented Jan 16, 2024

What kind of change does this PR introduce?

Bug fix #1603

What is the current behavior?

supabase start fails in GitLab CI because docker:dind does not expose service ports on localhost.

What is the new behavior?

Make local hostname configurable so that docker daemon address can be used instead of 127.0.0.1.

This change also supports use cases where docker daemon is installed on a remote machine.

Additional context

Add any other context or screenshots.

@sweatybridge sweatybridge requested a review from a team as a code owner January 16, 2024 17:30
@sweatybridge sweatybridge changed the title fix(db): defaults local hostname to docker daemon fix(db): make local hostname configurable Jan 16, 2024
@sweatybridge sweatybridge changed the title fix(db): make local hostname configurable fix(db): make local hostname configurable for docker-in-docker Jan 16, 2024
@coveralls
Copy link

Pull Request Test Coverage Report for Build 7545435844

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.03%) to 58.691%

Totals Coverage Status
Change from base Build 7544425150: 0.03%
Covered Lines: 6078
Relevant Lines: 10356

💛 - Coveralls

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.

supabase start fails to connect when launched with a dind container
2 participants