Skip to content

Conversation

@ayham291
Copy link
Contributor

Fixes MongoDB replica set initialization by replacing localhost:27017 with ${appName}:27017 in the replica set configuration. Using localhost doesn't work properly in containerized environments since it refers to the container itself, not the service name that other containers use to communicate. This change ensures the replica set can be properly initialized using the correct hostname within the Docker network.

localhost doesn't work properly in containers
@Siumauricio Siumauricio merged commit d8514b0 into Dokploy:canary Dec 18, 2025
4 checks passed
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.

2 participants