docker-ubuntu

How to use

  • clone
git clone https://github.com/ysaotome/docker-devhub.git
  • docker build
docker build --rm -t ysaotome/devhub docker-devhub/
  • run mongodb
docker run -d \
    --name devhub-mongo \
    --restart always \
    -v /path/to/mongo:/data/db \
    mongo:3.0.3
  • run devhub
docker run -d \
    --name devhub \
    --restart always \
    --link devhub-mongo:mongo \
    -p 3000:3000 \
    -v /path/to/backupdb:/DevHub/backupdb \
    -v /path/to/uploads:DevHub/static/uploads \
    ysaotome/devhub