ElephantSQL provides PostgreSQL-as-a-Service hosted in the cloud.
The ElephantSQL dashboard can be accessed by visiting: customer.elephantsql.com/login
Once you have subscribed to this service and located your credentials, you will need to configure your application to use the credentials for your service.
We recommend setting the following environment variables within your application runtime to connect the service to your app:
Variable Name |
Example Value |
ELEPHANTSQL_MAX_CONNS |
5 |
ELEPHANTSQL_URI |
postgres://pakejrde:[email protected]:5432/pakejrde |
Use the OpenShift client tools to set environment variables to make your credentials available within your application runtime:
$ rhc env set ELEPHANTSQL_MAX_CONNS=VALUE -a App_Name
$ rhc env set ELEPHANTSQL_URI=VALUE -a App_Name
| Check out the general code examples to see how to use environment variables within your application. |
Additional documentation is available at http://www.elephantsql.com/docs/index.html.
If you have any questions, please email [email protected]
If you need technical support, please email [email protected]
We’re announcing all status and maintenance information at status.elephantsql.com