-
Notifications
You must be signed in to change notification settings - Fork 15
Set reasonable default that will help with filling in repo form for core t… #1400
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
Conversation
…o repo communication in compose file
Reviewer's GuideThis pull request updates the compose environment setup to improve communication between the core and repo services. It modifies a shell script to conditionally set the File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @JoshuaSBrown - I've reviewed your changes - here's some feedback:
- Consider setting
REPO_DOMAIN
explicitly to the container service name (e.g., 'repo') for inter-container communication instead of leaving it blank whenCOMPOSE_DOMAIN
is 'localhost'.
Here's what I looked at during the review
- 🟡 General issues: 1 issue found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
…d into 1399-fix-compose-repo-domain
PR Description
This PR helps mitigate problems with core and repo communication. The REPO_DOMAIN is used to create the repo form to register a repo with the core service. The default localhost that was being used causes problems in a compose environment because the core server is unable to properly resolve it. This PR sets a reasonable default and leaves it blank if localhost is specified.
Tasks
Summary by Sourcery
Improve handling of repository domain configuration in compose environment to resolve communication issues between core and repo services
Bug Fixes:
Enhancements: