Simple Node.js application with Redis as data store to demonstrate load balanced docker hosting with tutum. The application has three routes:
/key/value
: to setkey
asvalue
/key
: returns the value of thekey
/
: returns details about the host
To check load balancing, all routes will show the current hostname.
APP_PORT
: port where the application should runsREDIS_IP
: ip for redis datastoreREDIS_PORT
: port for redis datastore