Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const DB_HOST = process.env.DB_HOST || 'localhost';
- const DB_NAME = process.env.DB_NAME || 'nombre_base_dato';
- const DB_USER = process.env.DB_USER || 'postgres';
- const DB_PASS = process.env.DB_PASS || 'postgres';
- const DB_CHARSET = process.env.DB_CHARSET || 'utf-8';
- const DB_CLIENT = process.env.DB_CLIENT || 'postgresql';
- module.exports = {
- development: {
- client: "postgresql",
- connection: {
- host: "localhost",
- user: "postgres",
- password: "postgres",
- database: "abeedb",
- charset: "utf-8"
- }
- },
- production: {
- client: DB_CLIENT,
- connection: {
- host: DB_HOST,
- user: DB_USER,
- password: DB_PASS,
- database: DB_NAME,
- charset: DB_CHARSET
- }
- }
- }
- heroku help
- access manage user access to apps
- addons manage add-ons
- apps manage apps
- authorizations OAuth authorizations
- buildpacks manage the buildpacks for an app
- certs a topic for the ssl plugin
- ci run an application test suite on Heroku
- clients OAuth clients on the platform
- config manage app config vars
- domains manage the domains for an app
- drains list all log drains
- features manage optional features
- git manage local git repository for app
- keys manage ssh keys
- labs experimental features
- local run heroku app locally
- logs display recent log output
- maintenance manage maintenance mode for an app
- members manage organization members
- notifications display notifications
- orgs manage organizations
- pg manage postgresql databases
- pipelines manage collections of apps in pipelines
- plugins manage plugins
- ps manage dynos (dynos, workers)
- redis manage heroku redis instances
- regions list available regions
- releases manage app releases
- run run a one-off process inside a Heroku dyno
- sessions OAuth sessions
- spaces manage heroku private spaces
- status status of the Heroku platform
- teams manage teams
Add Comment
Please, Sign In to add comment