Skip to content

An APB which deploys a sampel python app displaying zip codes

Notifications You must be signed in to change notification settings

ansibleplaybookbundle/pyzip-demo-apb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyzip-demo-apb

An apb for deploying a simple Python Zip App Demo app that can bind to Postgres for testing purposes.

What it does

  • Deploys a bindable web app.

Requirements

Parameters

  • NAMESPACE: Optional, default 'pyzip-demo', Namespace to deploy the cluster in.
  • OPENSHIFT_TARGET: Required, target openshift deployment
  • OPENSHIFT_TOKEN: Required, openshift login token to authenticate with

Running the application

docker run -e "OPENSHIFT_TARGET=<openshift_target>" -e "OPENSHIFT_TOKEN=<token>" ansibleplaybookbundle/pyzip-demo-apb provision

Tearing down the application

docker run -e "OPENSHIFT_TARGET=<openshift_target>" -e "OPENSHIFT_TOKEN=<token>" ansibleplaybookbundle/pyzip-demo-apb deprovision

About

An APB which deploys a sampel python app displaying zip codes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published