https://github.com/chees/meteor-docker
https://github.com/chees/meteor-docker
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chees/meteor-docker
- Owner: chees
- Created: 2014-08-12T17:02:41.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-12T17:14:17.000Z (almost 12 years ago)
- Last Synced: 2023-03-11T11:48:12.157Z (over 3 years ago)
- Language: Shell
- Homepage: https://registry.hub.docker.com/u/chees/meteor-docker/
- Size: 121 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
You can use this to run Meteor in a Docker container.
Bundle your Meteor app:
./bundle.sh
Build the container:
docker build -t chees/meteor .
Start MongoDB:
docker run --name mongo -d mongo
Start Meteor:
docker run --name meteor -d -p 80:3000 --link mongo:mongo chees/meteor
Your Meteor site should then be running on port 80.
If you're using boot2docker you can run `boot2docker ip` to find the ip. Usually it's something like http://192.168.59.103/
Stop the containers:
docker rm -f mongo meteor