fix(engine-room): corrige preset do MetaSet para apontar para serviço novo
- Atualiza porta: 8088 → 8100 (porta correta do container metaset) - Atualiza tipo: java → python (Superset é Python) - Atualiza host: SUPERSET_HOST → METASET_HOST - Adiciona METASET_HOST e METASET_PORT no serviço app - Atualiza descrição para refletir o MetaSet (fork Arcadia) O preset estava apontando para o Apache Superset legado (porta 8088) que só roda com perfil [bi]. Agora aponta corretamente para o MetaSet novo (porta 8100) que é o serviço padrão. Refs: metaset, casa-de-maquinas
This commit is contained in:
parent
5c884d9066
commit
13abdbba3b
|
|
@ -59,6 +59,9 @@ services:
|
|||
OPENAI_API_KEY: ${OPENAI_API_KEY:-}
|
||||
LITELLM_BASE_URL: http://litellm:4000
|
||||
LITELLM_API_KEY: ${LITELLM_API_KEY:-arcadia-internal}
|
||||
# MetaSet BI
|
||||
METASET_HOST: metaset
|
||||
METASET_PORT: 8100
|
||||
# Kernel Arcadia (Service Discovery)
|
||||
KERNEL_ENABLED: "true"
|
||||
KERNEL_AUTOSTART: "true"
|
||||
|
|
|
|||
|
|
@ -80,21 +80,21 @@ const ENGINES: EngineConfig[] = [
|
|||
},
|
||||
{
|
||||
name: "metaset",
|
||||
displayName: "MetaSet (Motor BI)",
|
||||
type: "java",
|
||||
port: 8088,
|
||||
displayName: "MetaSet BI",
|
||||
type: "python",
|
||||
port: 8100,
|
||||
healthPath: "/health",
|
||||
category: "data",
|
||||
description: "Motor de BI - Consultas, Dashboards, Gráficos, Análises",
|
||||
description: "MetaSet BI - Business Intelligence by ArcadiaSuite (Apache Superset fork)",
|
||||
},
|
||||
];
|
||||
|
||||
// Helper para obter URL de health check - considera containers externos
|
||||
function getEngineHealthUrl(engine: EngineConfig): string {
|
||||
// MetaSet/Superset roda em container separado
|
||||
// MetaSet roda em container separado
|
||||
if (engine.name === "metaset") {
|
||||
const supersetHost = process.env.SUPERSET_HOST || "superset";
|
||||
return `http://${supersetHost}:${engine.port}${engine.healthPath}`;
|
||||
const metasetHost = process.env.METASET_HOST || "metaset";
|
||||
return `http://${metasetHost}:${engine.port}${engine.healthPath}`;
|
||||
}
|
||||
// Plus também roda externamente (quando instalado)
|
||||
if (engine.name === "plus") {
|
||||
|
|
|
|||
Loading…
Reference in New Issue