Hi,
I got something like this:
admm3
2019-05-17 19:26:09+02:00Application exited with code: 1
admm3
2019-05-17 19:26:15+02:00The container has crashed. A new container will be started to replace it.
14r98
2019-05-17 19:29:58+02:00Application process starting, version 6
14r98
2019-05-17 19:30:08+02:00/app/bundle/programs/server/node_modules/fibers/future.js:280
14r98
2019-05-17 19:30:08+02:00 throw(ex);
14r98
2019-05-17 19:30:08+02:00 ^
14r98
2019-05-17 19:30:08+02:00
14r98
2019-05-17 19:30:08+02:00Error: MONGO_URL must be set in environment
14r98
2019-05-17 19:30:08+02:00 at Object.<anonymous> (packages/mongo/remote_collection_driver.js:36:11)
14r98
2019-05-17 19:30:08+02:00 at Object.defaultRemoteCollectionDriver (packages/underscore.js:784:19)
14r98
2019-05-17 19:30:08+02:00 at new Collection (packages/mongo/collection.js:97:40)
14r98
2019-05-17 19:30:08+02:00 at new AccountsCommon (packages/accounts-base/accounts_common.js:23:18)
14r98
2019-05-17 19:30:08+02:00 at new AccountsServer (packages/accounts-base/accounts_server.js:23:5)
14r98
2019-05-17 19:30:08+02:00 at server_main.js (packages/accounts-base/server_main.js:7:12)
14r98
2019-05-17 19:30:08+02:00 at fileEvaluate (packages/modules-runtime.js:336:7)
14r98
2019-05-17 19:30:08+02:00 at Module.require (packages/modules-runtime.js:238:14)
14r98
2019-05-17 19:30:08+02:00 at require (packages/modules-runtime.js:258:21)
14r98
2019-05-17 19:30:08+02:00 at /app/bundle/programs/server/packages/accounts-base.js:1995:15
14r98
2019-05-17 19:30:08+02:00 at /app/bundle/programs/server/packages/accounts-base.js:2002:3
14r98
2019-05-17 19:30:08+02:00 at /app/bundle/programs/server/boot.js:419:36
14r98
2019-05-17 19:30:08+02:00 at Array.forEach (<anonymous>)
14r98
2019-05-17 19:30:08+02:00 at /app/bundle/programs/server/boot.js:228:19
14r98
2019-05-17 19:30:08+02:00 at /app/bundle/programs/server/boot.js:479:5
14r98
2019-05-17 19:30:08+02:00 at Function.run (/app/bundle/programs/server/profile.js:510:12)
14r98
2019-05-17 19:30:08+02:00Application exited with code: 1
14r98
2019-05-17 19:30:12+02:00The container has crashed. A new container will be started to replace it.
I used this for deploying:
DEPLOY_HOSTNAME=eu-west-1.galaxy.meteor.com meteor deploy someurl.meteorapp.com --settings settings.json
My settings, looks like this:
{
"eu-west-1.galaxy.meteor.com": {
"env": {
"MONGO_URL": "mongodb+srv://<user>:<pw>@somedatabase-whnex.mongodb.net/test?retryWrites=true"
}
}
}
Using compass, I can access the database above.
What can I do ?