This project was developed as part of a workshop to deploy a statefull application in OpenShift / Kubernetes.
build -t python-app . workshop-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 --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