Use symlinked APP_DATA_DIR, add MCP_API_BASE_URL and SHAREPOINT_BASE_URL env vars

This commit is contained in:
2026-03-19 16:14:00 +00:00
parent 9f0e1c7f8b
commit 1f8a4d5ae3
2 changed files with 26 additions and 2 deletions

View File

@@ -55,6 +55,22 @@
"required": false,
"default": "*",
"env_variable": "CORS_ORIGIN"
},
{
"type": "text",
"label": "MCP API Base URL",
"hint": "Base URL for the MCP API server",
"required": false,
"default": "http://localhost:2009",
"env_variable": "MCP_API_BASE_URL"
},
{
"type": "text",
"label": "SharePoint Base URL",
"hint": "SharePoint/OneDrive URL for Integration Planning documents",
"required": false,
"default": "https://minicircuits-my.sharepoint.com/personal/alex_zaw_minicircuits_com1/_layouts/15/onedrive.aspx?id=%2Fpersonal%2Falex%5Fzaw%5Fminicircuits%5Fcom1%2FDocuments%2FIntegration%20Planning%2F",
"env_variable": "SHAREPOINT_BASE_URL"
}
]
}

View File

@@ -35,16 +35,24 @@
{
"key": "PORT",
"value": "8001"
},
{
"key": "MCP_API_BASE_URL",
"value": "${MCP_API_BASE_URL}"
},
{
"key": "SHAREPOINT_BASE_URL",
"value": "${SHAREPOINT_BASE_URL}"
}
],
"volumes": [
{
"hostPath": "/home/alexz/ERP-Integration/backend/data",
"hostPath": "${APP_DATA_DIR}/data",
"containerPath": "/app/backend/data",
"readOnly": false
},
{
"hostPath": "/home/alexz/ERP-Integration/backend/uploads",
"hostPath": "${APP_DATA_DIR}/uploads",
"containerPath": "/app/backend/uploads",
"readOnly": false
}