sap-mcp-bridge: new app — five SAP MCP servers behind one nginx-proxied port
This commit is contained in:
42
apps/sap-mcp-bridge/docker-compose.json
Normal file
42
apps/sap-mcp-bridge/docker-compose.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"$schema": "https://schemas.runtipi.io/dynamic-compose.json",
|
||||
"schemaVersion": 2,
|
||||
"services": [
|
||||
{
|
||||
"name": "sap-mcp-bridge",
|
||||
"image": "git.alexzaw.dev/alexz/sap-mcp-bridge:latest",
|
||||
"isMain": true,
|
||||
"internalPort": 8080,
|
||||
"environment": [
|
||||
{ "key": "TZ", "value": "${TZ}" },
|
||||
{ "key": "SAP_URL", "value": "${SAP_URL}" },
|
||||
{ "key": "SAP_USERNAME", "value": "${SAP_USERNAME}" },
|
||||
{ "key": "SAP_PASSWORD", "value": "${SAP_PASSWORD}" },
|
||||
{ "key": "SAP_CLIENT", "value": "${SAP_CLIENT}" },
|
||||
{ "key": "SAP_DESTINATION_NAME", "value": "${SAP_DESTINATION_NAME}" },
|
||||
{ "key": "DESTINATION_SERVICE_URL", "value": "${DESTINATION_SERVICE_URL}" },
|
||||
{ "key": "DESTINATION_CLIENT_ID", "value": "${DESTINATION_CLIENT_ID}" },
|
||||
{ "key": "DESTINATION_CLIENT_SECRET", "value": "${DESTINATION_CLIENT_SECRET}" },
|
||||
{ "key": "DESTINATION_AUTH_URL", "value": "${DESTINATION_AUTH_URL}" },
|
||||
{ "key": "ODATA_DISCOVERY_MODE", "value": "${ODATA_DISCOVERY_MODE}" }
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"hostPath": "/etc/runtipi/user-config/runtipi/sap-mcp-bridge/workspace",
|
||||
"containerPath": "/workspace",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"healthCheck": {
|
||||
"test": "curl -fsS http://127.0.0.1:8080/healthz || exit 1",
|
||||
"interval": "30s",
|
||||
"timeout": "5s",
|
||||
"retries": 3,
|
||||
"startPeriod": "30s"
|
||||
},
|
||||
"extraLabels": {
|
||||
"runtipi.managed": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user