Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Tutum Nodejs Redis

Simple Node.js application with Redis as data store to demonstrate load balanced docker hosting with tutum. The application has three routes:

  1. /key/value: to set key as value
  2. /key: returns the value of the key
  3. /: returns details about the host

To check load balancing, all routes will show the current hostname.

Environment Variables

  • APP_PORT: port where the application should runs
  • REDIS_IP: ip for redis datastore
  • REDIS_PORT: port for redis datastore

About

Simple Node.js application with Redis as data store to demonstrate load balanced docker hosting with tutum

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published