rhscl-postgresql-apb
An apb for deploying PostgreSQL.
What it does
- Deploys 1 postgresql container.
Requirements
- N/A
Parameters
- namespace: Optional, default 'rhscl-postgresql-apb', Namespace to deploy the cluster in.
- postgresql_database, Optional, default 'admin', Postgresql database name.
- postgresql_password, Optional, default is a randomly generated string, Postgresql databaase password.
- postgresql_user, Optional, default 'admin', Postgresql database username.
- postgresql_version, Optional, default '9.5', Postgresql version. 9.4 and 9.5 are supported.
Running the application
docker run -e "OPENSHIFT_TARGET=<openshift_target>" -e "OPENSHIFT_USER=<user>" -e "OPENSHIFT_PASS=<password>" ansibleplaybookbundle/rhscl-postgresql-apb provision
Tearing down the application
docker run -e "OPENSHIFT_TARGET=<openshift_target>" -e "OPENSHIFT_USER=<user>" -e "OPENSHIFT_PASS=<password>" ansibleplaybookbundle/rhscl-postgresql-apb deprovision