I have created a database and a user with oplog access in Compose.io.
The URI I get looks like this:
mongodb://<user>:<password>@lamppost.11.mongolayer.com:10022,lamppost.10.mongolayer.com:10024/cardmaker?replicaSet=set-<bunchOfDigits>
Knowing this, what do I set as MONGO_URL
and MONGO_OPLOG_URL
in mup.json
?
There is literally no documentation on this. :(
Let's say database name: mydatabase username: user password: 123456
It will be looked like this:
“MONGO_URL”: “mongodb://user:123456@candidate.11.mongolayer.com:10240,candidate.0.mongolayer.com:10240/mydatabase?replicaSet=set-0123456789″,
“MONGO_OPLOG_URL”: “mongodb://user:123456@candidate.11.mongolayer.com:10240,candidate.0.mongolayer.com:10240/local?authSource=mydatabase”