Skip to content

reconfigure docker ports to stop providers from being accessed from the outside #1862

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

goastler
Copy link
Member

No description provided.

@Copilot Copilot AI review requested due to automatic review settings May 21, 2025 20:59
@goastler goastler self-assigned this May 21, 2025
Copy link

netlify bot commented May 21, 2025

Deploy Preview for bundle-demo ready!

Name Link
🔨 Latest commit 749e183
🔍 Latest deploy log https://app.netlify.com/projects/bundle-demo/deploys/682e3eaf4cbf7f00080538b7
😎 Deploy Preview https://deploy-preview-1862--bundle-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes direct port mappings and expose entries for provider services to prevent them from being accessed from the host, and adds descriptive comments to the network definitions.

  • Removed ports and expose settings for provider and MongoDB services
  • Added inline documentation to explain internal vs. external network behavior
Comments suppressed due to low confidence (1)

docker/docker-compose.provider.yml:45

  • Hardcoding IPv4 addresses can lead to network conflicts and makes scaling harder; consider relying on Docker DNS for service discovery instead of static IPs.
ipv4_address: 172.18.0.3

@goastler
Copy link
Member Author

needs testing on staging

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