Comments (8)
You need to set a correct Mongo URL? You need to run a mongodb server on
port 3001, according to the above settings.
On Mon, May 18, 2015 at 9:36 PM Nicolas Grenié [email protected]
wrote:
Hi,
Thanks for this project :) I am very interested to dockerize my project,
to simplify it's distribution.I was able to create the image but when I try to run it with this command
docker run -d
-e ROOT_URL=http://localhost:3000
-e MONGO_URL=mongodb://localhost:3001/meteor
-e METEOR_SETTINGS='{ALL_MY_SETTINGS}'
-p 3000:80
picsoung/apisiobut in the logs of the container I have Error: failed to connect to
[localhost:3001]
I am just trying to run on the default port.What goes wrong?
Thanks for your help :)—
Reply to this email directly or view it on GitHub
#20.
from meteord.
the default mongodb server is not on 3001 when you just run your meteor application with meteor
?
from meteord.
meteord is different. It don't use meteor to run your app. It's a meteor
bundle running with pure node. It don't have mongodb as well.
On Mon, May 18, 2015 at 9:42 PM Nicolas Grenié [email protected]
wrote:
the default mongodb server is not on 3001 when you just run your meteor
application with meteor ?—
Reply to this email directly or view it on GitHub
#20 (comment).
from meteord.
I see... so I have to add instructions to launch the mongodb server ?
Where should it go?
on the Dockerfile?
from meteord.
any update on this? trying to just run a standard meteor app. do we have to deploy a second container for mongo?
from meteord.
@picsoung @markoshust Yes, you need to run mongo separately. For an example of how to do this with docker, see the example in the comment at the end of the docker registry page.
from meteord.
Thanks, I get it now. The 'meteor' command caused us not to think of how much node is involved and how it runs meteor. This article explained quite a bit for me - http://www.qasimzeeshan.com/how-to-deploy-meteor-telescope-on-centos/
This ticket can probably be closed because it's not an issue.
from meteord.
Just to clarify: Meteor runs its own "fake" mongodb when in development mode. This is not a production mongodb. You need to deploy and connect a proper mongod instance on your service / network. You can then tell Meteor to connect via network or locally to the mongodb. If you choose the latter you need to link the mongo container to the meteor container.
from meteord.
Related Issues (20)
- No npm install? How are we supposed to deal with installing npms? HOT 1
- Automated build failing on Docker Hub HOT 7
- tar problem when docker run HOT 2
- --server-only
- Meteor 1.4 Support? HOT 4
- Timezone / Locale removed
- Openshift - meteor: command not found
- docker build fail on CircleCI
- Update Node to v0.10.47 (security release)
- Meteord Downloads 1.4 Even Though .meteor/release Has 1.3 HOT 1
- error when trying to run container assert.js
- Will you be including support for meteor 1.4.* and NODE 4.* HOT 5
- readFileSync of undefined when building Meteor docker image on Jenkins
- Superuser permission when building Meteor HOT 5
- docker build failing ... HOT 3
- Can't build image HOT 6
- Failed build - Exit code 137 - Killed [memory issue]
- specify meteor version HOT 1
- library/meteor not found HOT 6
- Why need a bundle when building Docker image? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteord.