Working example: xplatform.org
- Install Docker
- On Mac OSX you can use
docker.install-osx.sh
to automate installation - Invoke
run.sh
- ???
- You are done. Profit!
-
Create container for specific component using snippets from
run.sh
-
Run container e.g.
mongo
-
Invoke
docker ps
and check exposed port.586b3dae23cb xplatform/mongo:latest mongod 3 minutes ago Up 3 minutes 0.0.0.0:49156->27017/tcp mongo
-
Run platform and specify
MONGO_HOST
$ cd ./platform; MONGO_HOST="localhost:49156" node app