Skip to content

Commit

Permalink
don't use default values for DB connection
Browse files Browse the repository at this point in the history
  • Loading branch information
rokerkony authored Sep 25, 2018
1 parent f04af13 commit 5f71a9c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/env-const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export const REQUEST_UNIQUE_ID_KEY: string = 'nestRequestUniqueId';
// The place for environmental variables from kubernetes secrets.

// EXAMPLE:
// export const DB_USER: string = process.env.DB_USER || 'db-user';
// export const DB_PASSWORD: string = process.env.DB_PASSWORD || 'db-pass';
// export const DB_NAME: string = process.env.DB_NAME || 'db-name';
// export const DB_HOST: string = process.env.DB_HOST || 'localhost';
// export const DB_USER: string = process.env.DB_USER || '--unknown--';
// export const DB_PASSWORD: string = process.env.DB_PASSWORD || '--unknown--';
// export const DB_NAME: string = process.env.DB_NAME || '--unknown--';
// export const DB_HOST: string = process.env.DB_HOST || '127.0.0.1';

0 comments on commit 5f71a9c

Please sign in to comment.