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.
2 parents 0590e78 + 6bb5404 commit d8514b0Copy full SHA for d8514b0
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