-
-
Notifications
You must be signed in to change notification settings - Fork 130
/
environment.ts
54 lines (47 loc) · 1.46 KB
/
environment.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// This file can be replaced during build by using the `fileReplacements` array.
// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`.
export const environment = {
production: false,
NODE_ENV: 'development',
NODE_TLS_REJECT_UNAUTHORIZED: 0,
ALLOW_WHITE_LIST: ['::ffff:127.0.0.1', '::1'],
LOG_LEVEL: 'debug',
server: {
host: 'localhost',
domainUrl: 'http://localhost:3000',
port: 3000,
globalPrefix: '/api',
},
database: {
type: 'postgres',
host: 'localhost',
port: 5432,
database: 'cockpit',
username: 'cockpit',
password: 'cockpit123',
keepConnectionAlive: true,
logging: true,
synchronize: true,
},
oidc: {
// issuerUrl: 'https://myroute-is360.a3c1.starter-us-west-1.openshiftapps.com/auth/realms/kubernetes',
// client: 'cockpit',
issuerUrl: process.env.OIDC_ISSUER_URL || 'https://myroute-is360.a3c1.starter-us-west-1.openshiftapps.com/auth/realms/is360',
client: process.env.OIDC_CLIENT || 'is360ui',
},
email: {
transport: {
host: 'mail.google.com',
port: 25,
},
defaults: {
from: '"sumo demo" <sumo@demo.com>',
},
templateDir: 'apps/api/email-templates',
},
webPush: {
publicVapidKey: 'BAJq-yHlSNjUqKW9iMY0hG96X9WdVwetUFDa5rQIGRPqOHKAL_fkKUe_gUTAKnn9IPAltqmlNO2OkJrjdQ_MXNg',
privateVapidKey: 'cwh2CYK5h_B_Gobnv8Ym9x61B3qFE2nTeb9BeiZbtMI',
},
};