Coder Social home page Coder Social logo

dypostgresql's Introduction

OpenShift PostgreSQL Cartridge

The postgresql cartridge provides PostgreSQL on OpenShift.

Template Repository Layout

sql/     SQL data or scripts.

NOTE: Please leave sql and data directories but feel free to create additional directories if needed.

Environment Variables

The postgresql cartridge provides several environment variables to reference for ease of use:

OPENSHIFT_POSTGRESQL_DB_HOST        Numeric host address
OPENSHIFT_POSTGRESQL_DB_PORT        Port
OPENSHIFT_POSTGRESQL_DB_USERNAME    DB Username
OPENSHIFT_POSTGRESQL_DB_PASSWORD    DB Password
OPENSHIFT_POSTGRESQL_DB_LOG_DIR     Directory for log files
OPENSHIFT_POSTGRESQL_DB_PID         PID of current Postgres server
OPENSHIFT_POSTGRESQL_DB_SOCKET_DIR  Postgres socket location
OPENSHIFT_POSTGRESQL_DB_URL         Full server URL of the form "postgresql://user:password@host:port"
OPENSHIFT_POSTGRESQL_VERSION        PostgreSQL version in the form `X.Y`

For more information about environment variables, consult the OpenShift Application Author Guide.

dypostgresql's People

Watchers

 avatar  avatar

Forkers

xiuwang

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.