Skip to content

This project was created to make a presentation about deploy application in OpenShift

Notifications You must be signed in to change notification settings

smrcascao/python-postgres-openshift-workshop

Repository files navigation

OpenShift Workshop

This project was developed as part of a workshop to deploy a statefull application in OpenShift / Kubernetes.

Docker build

build -t python-app . workshop-app

Docker run App

docker run -it -p 5000:5000 -e POSTGRES_DB_USER=postgres -e POSTGRES_DB_PSW=mysecretpassword -e SERVICE_POSTGRES_SERVICE_HOST=localhost -e POSTGRES_DB_NAME=workshopdb -d docker.io/library/smrcascao/workshop

Docker run postgres data base

docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -e POSTGRES_USER=postgres -e POSTGRES_DB=workshopdb -p 5432:5432 -d docker.io/library/postgres:10.15-alpine

About

This project was created to make a presentation about deploy application in OpenShift

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published