Hi, I am having trouble connecting mongo db atlas to deployed app - seems to be having trouble parsing the mongodb atlas Url
It is working fine when deployed on Meteor Galaxy.
Mup version (mup --version):
1.5.9
Mup config
paste config here...
module.exports = {
servers: {
one: {
// TODO: set host address, username, and authentication method
host: 'private',
username: 'root',
// pem: './path/to/pem'
password: 'private'
// or neither for authenticate from ssh-agent
}
},
app: {
// TODO: change app name and path
name: 'example',
path: '../',
servers: {
one: {},
},
buildOptions: {
serverOnly: true,
},
env: {
// TODO: Change to your app's url
// If you are using ssl, it needs to start with https://
docker: {
image: 'zodern/meteor:root',
},
// Show progress bar while uploading bundle to server
// You might need to disable it on CI servers
deployCheckWaitTime: 90,
enableUploadProgressBar: true
Hi - This works. please close this - I removed the mongo options on the bottom of the setup file and it throws a nasty error at the end of the build but completed mup and works.
Thanks
Hi, I am having trouble connecting mongo db atlas to deployed app - seems to be having trouble parsing the mongodb atlas Url It is working fine when deployed on Meteor Galaxy.
Mup version (
mup --version
): 1.5.9 Mup configmodule.exports = { servers: { one: { // TODO: set host address, username, and authentication method host: 'private', username: 'root', // pem: './path/to/pem' password: 'private' // or neither for authenticate from ssh-agent } },
app: { // TODO: change app name and path name: 'example', path: '../',
// ROOT_URL: 'http://172.105.155.109', // PORT: 27017, ROOT_URL: "https://www.example.com", MONGO_URL: "mongodb+srv://Private:private@private-mobile.wkumg.mongodb.net/private-mobile?retryWrites=true&w=majority" // MONGO_OPLOG_URL: 'mongodb://mongodb/local', },
},
mongo: { version: '4.4.12', servers: { one: {} } },
// (Optional) // Use the proxy to setup ssl or to route requests to the correct // app when there are several apps
// proxy: { // domains: 'mywebsite.com,www.mywebsite.com',
// ssl: { // // Enable Let's Encrypt // letsEncryptEmail: 'email@domain.com' // } // } };
Output of command
Everything else is fine except
1 Validation Error
mongo
object to use external databases.