-
Notifications
You must be signed in to change notification settings - Fork 0
/
example-pm2.json
63 lines (63 loc) · 2.07 KB
/
example-pm2.json
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
{
"apps": [{
"name": "rocket.chat.0",
"max_memory_restart": "1024M",
"log_date_format": "YYYY-MM-DD HH:mm:ss SSS",
"script": "/var/www/rocket.chat/bundle/main.js",
"out_file": "/var/log/rocket.chat/app.log",
"error_file": "/var/log/rocket.chat/err.log",
"port": "8080",
"env": {
"MONGO_URL": "mongodb://localhost:27017/rocketchat",
"MONGO_OPLOG_URL": "mongodb://localhost:27017/local",
"ROOT_URL": "https://demo.rocket.chat",
"DDP_DEFAULT_CONNECTION_URL": "https://demo.rocket.chat",
"PORT": "8080"
}
}, {
"name": "rocket.chat.1",
"max_memory_restart": "1024M",
"log_date_format": "YYYY-MM-DD HH:mm:ss SSS",
"script": "/var/www/rocket.chat/bundle/main.js",
"out_file": "/var/log/rocket.chat/app.log",
"error_file": "/var/log/rocket.chat/err.log",
"port": "8081",
"env": {
"MONGO_URL": "mongodb://localhost:27017/rocketchat",
"MONGO_OPLOG_URL": "mongodb://localhost:27017/local",
"ROOT_URL": "https://demo.rocket.chat",
"DDP_DEFAULT_CONNECTION_URL": "https://demo.rocket.chat",
"PORT": "8081"
}
}, {
"name": "rocket.chat.2",
"max_memory_restart": "1024M",
"log_date_format": "YYYY-MM-DD HH:mm:ss SSS",
"script": "/var/www/rocket.chat/bundle/main.js",
"out_file": "/var/log/rocket.chat/app.log",
"error_file": "/var/log/rocket.chat/err.log",
"port": "8082",
"env": {
"MONGO_URL": "mongodb://localhost:27017/rocketchat",
"MONGO_OPLOG_URL": "mongodb://localhost:27017/local",
"ROOT_URL": "https://demo.rocket.chat",
"DDP_DEFAULT_CONNECTION_URL": "https://demo.rocket.chat",
"PORT": "8082"
}
}, {
"name": "rocket.chat.3",
"max_memory_restart": "1024M",
"log_date_format": "YYYY-MM-DD HH:mm:ss SSS",
"script": "/var/www/rocket.chat/bundle/main.js",
"out_file": "/var/log/rocket.chat/app.log",
"error_file": "/var/log/rocket.chat/err.log",
"port": "8083",
"env": {
"MONGO_URL": "mongodb://localhost:27017/rocketchat",
"MONGO_OPLOG_URL": "mongodb://localhost:27017/local",
"ROOT_URL": "https://demo.rocket.chat",
"DDP_DEFAULT_CONNECTION_URL": "https://demo.rocket.chat",
"PORT": "8083"
}
}]
}