4 years ago
There should be an easy way to add a mongo oplog url.
If this can be done with environment variables, please let me know how :)
Here's a link to our discord thread about it: https://discordapp.com/channels/713503345364697088/713503345867882498/887409209589776465
1 Replies
4 years ago
I did some more digging on this. I think however y'all are setting up the Mongo instance needs to have a replica set.
I attempted to set the MONGOOPLOGURL as a variable but was getting an error: "$MONGOOPLOGURL must be set to the 'local' database of a Mongo replica set". I was able to create a read only user to the local db through Mongo Compass. Then I attempted to set the MONGOOPLOGURL to: mongodb://{readOnlyUser}:{readOnlyUserPassword}@containers-us-west-13.railway.app:7552/local?authSource=admin