Skip to content

A sample blue/green application meant to be used with Kubernetes.

Notifications You must be signed in to change notification settings

aca2328/docker_bluegreen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes Blue/Green Dockerfile

Build Status

Find it on Docker Hub.

This is a dead simple blue/green application tester built with Flask.

It's meant to be used by Kubernetes, and uses the app_color environment variable to set the application color.

Please see k8s/ for examples.

Also usable on a standalone docker host by passing the environment variable from the docker command

docker run -d --restart=always -p 5000:5000 -e app_color=blue --name blue alexfeig/bluegreen

or

docker run -d --restart=always -p 5000:5000 -e app_color=green --name green alexfeig/bluegreen

Screenshot

Screenshot

About

A sample blue/green application meant to be used with Kubernetes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • HTML 50.4%
  • Python 38.6%
  • Dockerfile 11.0%