We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72cc7a2 commit 6bb5404Copy full SHA for 6bb5404
packages/server/src/utils/databases/mongo.ts
@@ -54,7 +54,7 @@ if [ "$REPLICA_STATUS" != "1" ]; then
54
mongosh --eval '
55
rs.initiate({
56
_id: "rs0",
57
- members: [{ _id: 0, host: "localhost:27017", priority: 1 }]
+ members: [{ _id: 0, host: "${appName}:27017", priority: 1 }]
58
});
59
60
// Wait for the replica set to initialize
0 commit comments