Skip to content

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

License

Notifications You must be signed in to change notification settings

botleg/tutum-nodejs-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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