-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathservices.config.js
54 lines (54 loc) · 1.15 KB
/
services.config.js
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
module.exports = {
apps: [
{
name: 'Proxy',
script: './src/proxy.js',
exec_mode: 'cluster',
watch: true,
env: {
PORT: 3000,
NODE_ENV: 'development',
},
},
{
name: 'Hello World',
script: './src/services/helloWorld/index.js',
exec_mode: 'cluster',
watch: true,
env: {
PORT: 8000,
NODE_ENV: 'development',
},
},
{
name: 'Status Codes',
script: './src/services/codes/index.js',
exec_mode: 'cluster',
watch: true,
env: {
PORT: 8002,
LOG_LEVEL: 'debug',
NODE_ENV: 'development',
},
},
{
name: 'Get Fixtures',
script: './src/services/getFixtures/index.js',
exec_mode: 'cluster',
watch: true,
env: {
PORT: 8001,
API_TOKEN: 'c1f33647715444d5897b249e5245c56d',
API_BASE: 'https://api.football-data.org/v1',
COMPETITION_ID: 467,
LOG_LEVEL: 'debug',
NODE_ENV: 'development',
TIMEOUT: 1000,
},
env_production: {
NODE_ENV: 'production',
LOG_LEVEL: 'info',
},
},
],
};