CyCoreSystems / docker-meteor

Dockerfile and script for running Meteor on Docker
MIT License
120 stars 73 forks source link

No Exposed Port #29

Closed avishaan closed 7 years ago

avishaan commented 7 years ago

I'm not seeing an exposed port

pasted_image_9_23_16__9_10_am

I'm using the following for the deploy

docker run --link mongodb:mongo --rm -e RELEASE=1.4.1 -e PORT=80 -e ROOT_URL=http://55.55.84.25 -e REPO=git@github.com:codeHatcher/autoDashboardGenerator.git -e DEPLOY_KEY=/root/.ssh/id_rsa -v /root/.ssh/id_rsa:/root/.ssh/id_rsa -e BRANCH=feature/moveAppDir -e MONGO_URL=mongodb://mongo:27017/app ulexus/meteor:v1.4-build
avishaan commented 7 years ago

pasted_image_9_22_16__10_26_pm

Ulexus commented 7 years ago

That is correct; Docker does not expose ports on its own. You have to tell it to expose a port, on execution with the -p option to docker run. An example, in this case, would be -p 80:80.

avishaan commented 7 years ago

That worked, and everything else is up and running. Wohoo! Thanks!!

harishreddy-m commented 7 years ago

please mention this in README