-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathecosystem.config.cjs
More file actions
112 lines (109 loc) · 2.62 KB
/
ecosystem.config.cjs
File metadata and controls
112 lines (109 loc) · 2.62 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
// PM2 Ecosystem Configuration for Yennefer Genesis Conductor
// All services configured for always-on operation with auto-restart
module.exports = {
apps: [
// === CORE SERVICES ===
{
name: 'diamond-vault',
script: '/home/yenn/genesis-q-mem/qmcp_admin_panel.py',
interpreter: 'python3',
autorestart: true,
watch: false,
max_memory_restart: '500M',
restart_delay: 5000,
env: {
COMPUTE_MODE: 'dual',
ALWAYS_ON: 'true'
}
},
{
name: 'diamond-watchdog',
script: '/home/yenn/genesis-q-mem/qmcp_diamond_watchdog.py',
interpreter: 'python3',
autorestart: true,
watch: false,
max_memory_restart: '200M',
restart_delay: 5000,
env: {
COMPUTE_MODE: 'local',
ALWAYS_ON: 'true'
}
},
{
name: 'a2a-handoff',
script: '/home/yenn/genesis-q-mem/a2a_handoff_server.py',
interpreter: 'python3',
autorestart: true,
watch: false,
max_memory_restart: '200M',
restart_delay: 5000,
env: {
COMPUTE_MODE: 'dual',
ALWAYS_ON: 'true'
}
},
// === BLOCKCHAIN SERVICES ===
{
name: 'qmcp-bridge',
script: '/home/yenn/scripts/qmcp_genesis_bridge.cjs',
autorestart: true,
watch: false,
max_memory_restart: '300M',
restart_delay: 5000,
env: {
COMPUTE_MODE: 'dual',
ALWAYS_ON: 'true'
}
},
{
name: 'eth-bridge',
script: '/home/yenn/scripts/eth_optimism_bridge.cjs',
autorestart: true,
watch: false,
max_memory_restart: '300M',
restart_delay: 10000,
env: {
COMPUTE_MODE: 'remote',
ALWAYS_ON: 'true'
}
},
{
name: 'genesis-deployer',
script: '/home/yenn/scripts/genesis_deployer.cjs',
autorestart: true,
watch: false,
max_memory_restart: '200M',
restart_delay: 10000,
env: {
COMPUTE_MODE: 'remote',
ALWAYS_ON: 'true'
}
},
// === MINING & MONITORING ===
{
name: 'qflop-miner',
script: '/home/yenn/genesis-q-mem/qmcp_qflop_miner.py',
interpreter: 'python3',
autorestart: true,
watch: false,
max_memory_restart: '500M',
restart_delay: 5000,
env: {
COMPUTE_MODE: 'local',
ALWAYS_ON: 'true'
}
},
{
name: 'process-guardian',
script: '/home/yenn/scripts/process_guardian.cjs',
autorestart: true,
watch: false,
max_memory_restart: '200M',
restart_delay: 5000,
env: {
COMPUTE_MODE: 'local',
ALWAYS_ON: 'true'
}
}
]
};