Skip to content

mmondics/megabank-postgres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

megabank-postgres

Implementation of MegaBank that uses PostgreSQL rather than Db2

Deploy with containerized PostgreSQL

  1. Create a new project:

    oc new-project megabank-pg
    
  2. Give the default scc elevated privileges:

    oc -n megabank-pg adm policy add-scc-to-user anyuid -z default
    
  3. Deploy the application.

    oc apply -f backend -f frontend -f database
    

    Alternatively, deploy it using GitOps tooling such as ArgoCD, FluxCD, or Red Hat Advanced Cluster Management.

  4. Expose the mbweb service as a route.

    oc expose service/mbweb
    
  5. Access MegaBank at the MegaBank endpoint:

    ROUTE=$(oc -n megabank-pg get route mbweb -o jsonpath='{.spec.host}')
    echo "http://${route}/MegaBank"
    

About

Implementation of MegaBank that uses postgres rather than Db2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published