forked from PTFS-Europe/ems-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathecosystem.config.js.template
84 lines (84 loc) · 3.2 KB
/
ecosystem.config.js.template
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
module.exports = {
apps: [
{
name: '<instance_name>',
script: 'index.js',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'development',
CLIENT_HOST: 'http://frontend_domain',
CLIENT_PORT: 8000,
PGUSER: '<db_user>',
PGPASSWORD: '<db_password>',
SCHEMA: '<db_user>',
API_PORT: <api_port>,
WS_PORT: <ws_port>,
LOG_FILE: '/tmp/access.log',
GOOGLE_NAME: null,
GOOGLE_OAUTH_CLIENT_ID: null,
GOOGLE_OAUTH_CLIENT_SECRET: null,
SAML_NAME: null,
SAML_ENTRY_POINT: null,
SAML_ISSUER_STRING: null,
SAML_LOGOUT_ENDPOINT: null,
SAML_UID_ATTR: 'nameID',
SHIB_UID_ATTR: 'urn:oid:0.9.2342.19200300.100.1.1',
SHIB_FIRST_NAME_ATTR: 'urn:oid:2.5.4.42',
SHIB_LAST_NAME_ATTR: 'urn:oid:2.5.4.4',
SHIB_EMAIL_ATTR: 'urn:oid:0.9.2342.19200300.100.1.3',
SHIB_CALLBACK_URL: null,
SHIB_ENTRY_POINT: null,
SHIB_ISSUER: null,
SHIB_SP_PRIV_KEY: null,
SHIB_SP_CERT: null,
SHIB_IDP_CERT: null,
SHIB_NAME: null,
TWITTER_OAUTH_CONSUMER_KEY: null,
TWITTER_OAUTH_CONSUMER_SECRET: null,
TWITTER_COOKIE_SECRET: null
FACEBOOK_APP_ID: null,
FACEBOOK_APP_SECRET: null,
JWT_SECRET: null
},
env_production: {
NODE_ENV: 'production',
CLIENT_HOST: 'http://frontend_domain',
CLIENT_PORT: 8000,
PGUSER: '<db_user>',
PGPASSWORD: '<db_password>',
SCHEMA: '<db_user>',
API_PORT: <api_port>,
WS_PORT: <ws_port>,
LOG_FILE: '/tmp/access.log',
GOOGLE_NAME: null,
GOOGLE_OAUTH_CLIENT_ID: null,
GOOGLE_OAUTH_CLIENT_SECRET: null,
SAML_NAME: null,
SAML_ENTRY_POINT: null,
SAML_ISSUER_STRING: null,
SAML_LOGOUT_ENDPOINT: null,
SAML_UID_ATTR: 'nameID',
SHIB_UID_ATTR: 'urn:oid:0.9.2342.19200300.100.1.1',
SHIB_FIRST_NAME_ATTR: 'urn:oid:2.5.4.42',
SHIB_LAST_NAME_ATTR: 'urn:oid:2.5.4.4',
SHIB_EMAIL_ATTR: 'urn:oid:0.9.2342.19200300.100.1.3',
SHIB_CALLBACK_URL: null,
SHIB_ENTRY_POINT: null,
SHIB_ISSUER: null,
SHIB_SP_PRIV_KEY: null,
SHIB_SP_CERT: null,
SHIB_IDP_CERT: null,
SHIB_NAME: null,
TWITTER_OAUTH_CONSUMER_KEY: null,
TWITTER_OAUTH_CONSUMER_SECRET: null,
TWITTER_COOKIE_SECRET: null
FACEBOOK_APP_ID: null,
FACEBOOK_APP_SECRET: null,
JWT_SECRET: null
}
}
]
};