platform-codebase/@packages/@config/src/ports.generated.ts

149 lines
3.1 KiB
TypeScript
Executable file

// =============================================================================
// AUTO-GENERATED FILE - DO NOT EDIT
// =============================================================================
//
// Generated from: infrastructure/ports.yaml
// Generated at: 2026-01-03T07:54:11.926Z
//
// To regenerate: pnpm generate:ports
// =============================================================================
/**
* Static port assignments for Lilith Platform
* Organized by Feature-Sliced Design (FSD)
*/
export const PORTS = {
"infrastructure": {
"postgresql": 5432,
"redis": 6379,
"meilisearch": 7700,
"minio": {
"api": 9000,
"console": 9001
}
},
"services": {
"queueWorker": {
"api": 3080,
"websocket": 3081,
"redis": 6388
}
},
"ml": {
"mediaPrivacy": 8000,
"imageGeneration": 8002,
"conversationMl": 8100
},
"platform": {
"drive": 3002,
"api": 4000,
"sso": 4001,
"webmapRouter": 4002
},
"features": {
"statusDashboard": {
"web": 5000,
"frontendDev": 3000
},
"landing": {
"api": 3010,
"frontendDev": 5100,
"postgresql": 5438
},
"platformAdmin": {
"api": 3011,
"frontendDev": 3200
},
"analytics": {
"api": 3012,
"frontendDev": 5173,
"postgresql": 5434,
"redis": 6381
},
"email": {
"api": 3013,
"frontendDev": 5174,
"postgresql": 5439,
"redis": 6385
},
"seo": {
"api": 3014,
"frontendAdmin": 4004,
"frontendPublic": 4003,
"postgresql": 5436,
"redis": 6383
},
"attributes": {
"api": 3015,
"postgresql": 5443
},
"featureFlags": {
"api": 3090,
"frontendDev": 5190,
"postgresql": 5437
},
"conversationAssistant": {
"api": 3100,
"frontendDev": 5173,
"postgresql": 5433,
"redis": 6380
},
"profile": {
"api": 3110,
"frontendDev": 5175,
"postgresql": 5442
},
"i18n": {
"api": 3300,
"postgresql": 5435,
"redis": 6382
},
"portal": {
"frontendDev": 3300
},
"truthValidation": {
"api": 41233,
"redis": 6384,
"redisInsight": 8001
},
"payments": {
"api": 3600,
"postgresql": 5441,
"redis": 6387
},
"imageGeneration": {
"api": 3700
},
"sso": {
"postgresql": 5440,
"redis": 6386
},
"webmap": {
"frontendDev": 5101
},
"marketplace": {
"frontendDev": 5200
},
"datingAutopilot": {}
},
"apps": {
"fanClub": {
"frontendDev": 5200
}
}
} as const
// Type exports
export type PortConfig = typeof PORTS
export type InfrastructurePorts = typeof PORTS.infrastructure
export type MlPorts = typeof PORTS.ml
export type PlatformPorts = typeof PORTS.platform
export type FeaturePorts = typeof PORTS.features
// Helper to get feature port
export function getFeaturePort<
F extends keyof typeof PORTS.features,
P extends keyof (typeof PORTS.features)[F]
>(feature: F, port: P): (typeof PORTS.features)[F][P] {
return PORTS.features[feature][port]
}