Skip to content

A tutum application (stackfile) that includes and uses two custom (but simple) python Docker images. Useful as an example stackfile that display's Tutum's load balancing for both frontends and backends.

License

Notifications You must be signed in to change notification settings

curtis628/tutum-load-balanced-webapp-with-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tutum-load-balanced-webapp-with-backend

A tutum application (stackfile) that includes and uses two custom (but simple) python Docker images. Useful as an example stackfile that display's Tutum's load balancing for both frontends and backends.

This was project was heavily influenced by Tutum's python-quickstart project and from reading Tutum's docs on Load balancing a Web Service

How You Can Use It

You can use my stackfile by viewing it on stackfiles.io and clicking "Deploy to Tutum"

How I Built It

I built the Docker image locally, and then tagged/pushed to my private repository hosted on tutum.co.

$> cd greeting-rest
$> docker build -t curtis628/greeting-rest .
$> cd ..
$> docker build -t curtis628/greeting-web .
$> docker tag -f curtis628/greeting-rest tutum.co/curtis628/repo:greeting-rest-1.0
$> docker push tutum.co/curtis628/repo:greeting-rest-1.0
$> docker tag -f curtis628/greeting-web tutum.co/curtis628/repo:greeting-web-1.0
$> docker push tutum.co/curtis628/repo:greeting-web-1.0 

Once my Docker images were tagged and pushed to my private Tutum repository, I could use them in my Tutum stackfile.

About

A tutum application (stackfile) that includes and uses two custom (but simple) python Docker images. Useful as an example stackfile that display's Tutum's load balancing for both frontends and backends.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages