150 lines
3.2 KiB
TypeScript
Executable file
150 lines
3.2 KiB
TypeScript
Executable file
// =============================================================================
|
|
// AUTO-GENERATED FILE - DO NOT EDIT
|
|
// =============================================================================
|
|
//
|
|
// Generated from: infrastructure/ports.yaml
|
|
// Generated at: 2026-01-31T00:00:00.000Z
|
|
//
|
|
// To regenerate: pnpm generate:ports
|
|
// =============================================================================
|
|
|
|
/**
|
|
* Static port assignments for Lilith Platform
|
|
* Organized by Feature-Sliced Design (FSD)
|
|
*/
|
|
export const PORTS = {
|
|
"infrastructure": {
|
|
"postgresql": 25432,
|
|
"redis": 26379,
|
|
"meilisearch": 7700,
|
|
"minio": {
|
|
"api": 9000,
|
|
"console": 9001
|
|
}
|
|
},
|
|
"services": {
|
|
"queueWorker": {
|
|
"api": 3080,
|
|
"websocket": 3081,
|
|
"redis": 26388
|
|
}
|
|
},
|
|
"ml": {
|
|
"mediaPrivacy": 8000,
|
|
"imageGeneration": 8002,
|
|
"conversationMl": 8100,
|
|
"contentModerationInference": 3501
|
|
},
|
|
"platform": {
|
|
"drive": 3002,
|
|
"api": 4000,
|
|
"sso": 4001,
|
|
"webmapRouter": 4002
|
|
},
|
|
"features": {
|
|
"statusDashboard": {
|
|
"web": 5000,
|
|
"frontendDev": 3000
|
|
},
|
|
"landing": {
|
|
"api": 3010,
|
|
"frontendDev": 5100,
|
|
"postgresql": 25438
|
|
},
|
|
"platformAdmin": {
|
|
"api": 3011,
|
|
"frontendDev": 3200
|
|
},
|
|
"analytics": {
|
|
"api": 3012,
|
|
"frontendDev": 5173,
|
|
"postgresql": 25434,
|
|
"redis": 26381
|
|
},
|
|
"email": {
|
|
"api": 3013,
|
|
"frontendDev": 5174,
|
|
"postgresql": 25439,
|
|
"redis": 26385
|
|
},
|
|
"seo": {
|
|
"api": 3014,
|
|
"frontendAdmin": 4004,
|
|
"frontendPublic": 4003,
|
|
"postgresql": 25436,
|
|
"redis": 26383
|
|
},
|
|
"attributes": {
|
|
"api": 3015,
|
|
"postgresql": 25443
|
|
},
|
|
"featureFlags": {
|
|
"api": 3090,
|
|
"frontendDev": 5190,
|
|
"postgresql": 25437
|
|
},
|
|
"conversationAssistant": {
|
|
"api": 3100,
|
|
"frontendDev": 5173,
|
|
"postgresql": 25433,
|
|
"redis": 26380
|
|
},
|
|
"profile": {
|
|
"api": 3110,
|
|
"frontendDev": 5175,
|
|
"postgresql": 25442
|
|
},
|
|
"i18n": {
|
|
"api": 3300,
|
|
"postgresql": 25435,
|
|
"redis": 26382
|
|
},
|
|
"platformUser": {
|
|
"frontendDev": 3300
|
|
},
|
|
"truthValidation": {
|
|
"api": 41233,
|
|
"redis": 26384,
|
|
"redisInsight": 8001
|
|
},
|
|
"payments": {
|
|
"api": 3600,
|
|
"postgresql": 25441,
|
|
"redis": 26387
|
|
},
|
|
"imageGeneration": {
|
|
"api": 3700
|
|
},
|
|
"sso": {
|
|
"postgresql": 25440,
|
|
"redis": 26386
|
|
},
|
|
"webmap": {
|
|
"frontendDev": 5101
|
|
},
|
|
"marketplace": {
|
|
"frontendDev": 5201
|
|
},
|
|
"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]
|
|
}
|