Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Simple Todo List

The Meteor Tutorial app.

Use it to share a single todo list with your friends. The list updates on everyone's screen in real time, and you can make tasks private if you don't want others to see them.

Learn how to build this app by following the Zero to Dockerized Meteor Cluster.

boot2docker start

docker build -t="inlight/mongodb-replica-set" github.com/inlight-media/docker-mongodb-replica-set

docker run -i -t -d -p 27017:27017 -p 27018:27018 -p 27019:27019 --name mongodb inlight/mongodb-replica-set

docker exec -it mongodb bash
mongo
> rs.initiate()
>  rs.add('6e8d183167b4:27018') # use token in 'me'
>  rs.add('6e8d183167b4:27019')
>  rs.status()
> exit

MONGODB="mongodb://"$(boot2docker ip)":27017,"$(boot2docker ip)":27018,"$(boot2docker ip)":27019/?replicaSet=dbReplicaSet&connectTimeoutMS=300000"

docker build -t 'todos' .

docker run --name simple-todos \
            -d -p 5000:5000 \
            --memory="128m" \
            -e MONGO_URL="$MONGODB" \
            -e ROOT_URL="http://127.0.0.1" \
            todos
Docker Pull Command
Owner
jaigouk
Source Repository

Comments (0)