-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlinux.config.js
More file actions
87 lines (87 loc) · 2.53 KB
/
linux.config.js
File metadata and controls
87 lines (87 loc) · 2.53 KB
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
85
86
87
module.exports = {
apps : [
{
name : 'broker',
script : '/usr/bin/mosquitto',
args : '-c ./mosquitto/mosquitto.conf',
interpreter : 'none',
wait_ready : true,
autorestart : false
},
{
name : 'aop',
cwd : './aop',
script : 'npm',
args : 'start',
interpreter : 'none',
wait_ready : true,
autorestart : false,
env : {
PORT : 8080,
BROKER : 'mqtt://localhost',
SCREENWIDTH : 1440,
USER_DATA_PATH : '../user-files'
}
},
{
name: 'apps',
cwd: './apps',
interpreter: "none",
script: "/bin/bash",
args: '-c "npm run build && npm start"',
wait_ready: true,
autorestart: false,
env: {
PORT: 8081,
HOST_IP: '192.168.1.21',
BROKER: 'mqtt://localhost',
USER_DATA_PATH: '../user-files'
}
},
{
name: 'tv3ws',
cwd: './ccws',
interpreter: "none",
script: "/bin/bash",
args: '-c "npm run build && npm start"',
wait_ready: true,
env: {
PORT: 44642,
BROKER: 'mqtt://localhost',
SERVER_URL: 'localhost',
USER_DATA_FILE: '../user-files/userData.json',
USER_THUMBS: '../user-files/thumbs'
}
},
{
name: "chrome-topic-explorer",
interpreter: "/bin/bash",
autorestart: false,
script: "./start-chrome.sh",
args: "./mqtt-explorer/index.html",
},
{
name: "chrome-aop",
interpreter: "/bin/bash",
autorestart: false,
script: "./start-chrome.sh",
args: "http://localhost:8080",
},
{
name: "eduplay",
cwd: "./eduplay",
interpreter: "none",
script: "/bin/bash",
args: '-c "npm run build && npm start"',
wait_ready: true,
},
{
name: "sepe",
cwd: "./sepe",
interpreter: "none",
script: "/bin/bash",
args: '-c "npm run build && npm start"',
wait_ready: true,
}
]
}