Skip to content
This repository has been archived by the owner on Jan 17, 2019. It is now read-only.

liberapay/openshift-cartridge-postgres

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Postgres 9.4.10 Cartridge for OpenShift v2.

Note: this cartridge does NOT run in an Auto-Scale app configuration.

To install it run this command:

rhc cartridge add -a APP_NAME http://cartreflect-claytondev.rhcloud.com/github/liberapay/openshift-cartridge-postgres

Don't forget to make regular backups of your databases using pg_dump, and be careful not to delete or alter the $OPENSHIFT_DATA_DIR/postgres/ directory that stores them.

To test the installation run this commands:

pg_ctl status -D $OPENSHIFT_PG_DATA_DIR

psql -d template1 -U $PGUSER

To restart the cartridge run this command:

rhc cartridge restart liberapay-postgres-9.4.5 --app APP_NAME

About

PostgreSQL 9.4 cartridge for OpenShift v2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 64.9%
  • HTML 35.1%