Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: MONGO_URL must be set in environment #555

Open
SpacialDrift opened this issue Oct 11, 2018 · 1 comment
Open

Error: MONGO_URL must be set in environment #555

SpacialDrift opened this issue Oct 11, 2018 · 1 comment

Comments

@SpacialDrift
Copy link

I get this constantly in my logs and the docker container will not start. Any help/advise is appreciated.

`=> Starting meteor app on port:80

/built_app/programs/server/node_modules/fibers/future.js:245
throw(ex);
^
Error: MONGO_URL must be set in environment
at Object. (packages/mongo/remote_collection_driver.js:36:1)
at Object.defaultRemoteCollectionDriver (packages/underscore/underscore.js:750:1)
at new Mongo.Collection (packages/mongo/collection.js:102:1)
at AccountsServer.AccountsCommon (accounts_common.js:23:18)
at new AccountsServer (accounts_server.js:16:5)
at Package (globals_server.js:5:12)
at /built_app/programs/server/packages/accounts-base.js:1814:4
at /built_app/programs/server/packages/accounts-base.js:1825:3
at /built_app/programs/server/boot.js:242:10
at Array.forEach (native)
`

This is inside a docker build running on a Synology DSM.

@bram-pkg
Copy link

bram-pkg commented Feb 2, 2019

You need to set the MONGO_URL environment variable to point to your MongoDB server.

Check this file for an example: https://github.com/lokenx/plexrequests-meteor/blob/master/docker-compose.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants