Add Ollama and CONTEXT_ROOT config to erp-integration app

This commit is contained in:
2026-03-26 15:21:06 +00:00
parent 68da19bafe
commit d3dd39ceeb
3 changed files with 71 additions and 20 deletions

View File

@@ -37,12 +37,20 @@
"value": "8001"
},
{
"key": "MCP_API_BASE_URL",
"value": "${MCP_API_BASE_URL}"
"key": "OLLAMA_BASE_URL",
"value": "${OLLAMA_BASE_URL}"
},
{
"key": "SHAREPOINT_BASE_URL",
"value": "${SHAREPOINT_BASE_URL}"
"key": "OLLAMA_MODEL",
"value": "${OLLAMA_MODEL}"
},
{
"key": "OLLAMA_API_KEY",
"value": "${OLLAMA_API_KEY}"
},
{
"key": "CONTEXT_ROOT",
"value": "${CONTEXT_ROOT}"
}
],
"volumes": [
@@ -58,17 +66,11 @@
}
],
"healthCheck": {
"test": "curl --fail http://localhost:8001/api/health || exit 1",
"test": "curl --fail http://localhost:8001${CONTEXT_ROOT}/api/health || exit 1",
"interval": "30s",
"timeout": "10s",
"retries": 3
},
"addPorts": [
{
"containerPort": 8001,
"hostPort": 8001
}
]
}
}
]
}