Sample stacks for popular software to be deployed in Tutum
JavaScript CSS HTML CoffeeScript Other Shell
Latest commit 1902dc5 Feb 19, 2016 @MaximeHeckel MaximeHeckel Merge pull request #76 from tutumcloud/TUT-675
look for docker-cloud.yml on submit

README.md

Stackfiles

Stackfile registry

Deploy to Docker Cloud

Requirements

  • Docker
  • Docker-compose
  • Node.JS
  • Bower

Instructions

Follow the following instruction to run the project in dev mode:

First, in the project folder, run npm install to install all the Node.JS dependencies, then bower install to install the assets.

Set the following environment variables:

  • NODE_ENV=development
  • GITHUB_CLIENT_ID=yourgithubclientid
  • GITHUB_CLIENT_SECRET=yourgithubclientsecret

Run docker-compose -f docker-compose.dev.yml up Run node server.js

Note

By default the mongodb database dev IP is set to 192.168.59.103 in the project.

To run the project in production mode:

Add your Github client id and client secret to the docker-compose.yml file.

Run docker-compose up