- PostgreSQL 17 + TimescaleDB schema with 12 tables - 48 standards (IEEE, SFF, ITU-T, OIF, MSA) - 33 form factors (SFP through OSFP-XD/CPO) - 85+ vendors (OEM, compatible, manufacturers, marketplaces) - 80+ seed transceivers (1G-1.6T, CWDM, BiDi, DAC, AOC, FC, PON) - 60+ network devices (Cisco, Juniper, Arista, HPE, Dell, etc.) - Crawler framework with fs.com and eBay crawlers - REST API (15 endpoints) on port 3200 - MCP server (12 tools) on port 3201 - PM2 ecosystem for production deployment on Erik (.82)
33 lines
699 B
JavaScript
33 lines
699 B
JavaScript
module.exports = {
|
|
apps: [
|
|
{
|
|
name: 'tip-api',
|
|
script: 'dist/api/server.js',
|
|
cwd: '/opt/transceiver-db',
|
|
instances: 1,
|
|
exec_mode: 'fork',
|
|
env: {
|
|
NODE_ENV: 'production',
|
|
PORT: 3200,
|
|
},
|
|
env_file: '.env',
|
|
max_memory_restart: '512M',
|
|
log_date_format: 'YYYY-MM-DD HH:mm:ss',
|
|
},
|
|
{
|
|
name: 'tip-mcp',
|
|
script: 'dist/mcp/server.js',
|
|
cwd: '/opt/transceiver-db',
|
|
instances: 1,
|
|
exec_mode: 'fork',
|
|
env: {
|
|
NODE_ENV: 'production',
|
|
MCP_PORT: 3201,
|
|
},
|
|
env_file: '.env',
|
|
max_memory_restart: '256M',
|
|
log_date_format: 'YYYY-MM-DD HH:mm:ss',
|
|
},
|
|
],
|
|
};
|