Use symlinked APP_DATA_DIR, add MCP_API_BASE_URL and SHAREPOINT_BASE_URL env vars
This commit is contained in:
@@ -55,6 +55,22 @@
|
|||||||
"required": false,
|
"required": false,
|
||||||
"default": "*",
|
"default": "*",
|
||||||
"env_variable": "CORS_ORIGIN"
|
"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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,16 +35,24 @@
|
|||||||
{
|
{
|
||||||
"key": "PORT",
|
"key": "PORT",
|
||||||
"value": "8001"
|
"value": "8001"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "MCP_API_BASE_URL",
|
||||||
|
"value": "${MCP_API_BASE_URL}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "SHAREPOINT_BASE_URL",
|
||||||
|
"value": "${SHAREPOINT_BASE_URL}"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"volumes": [
|
"volumes": [
|
||||||
{
|
{
|
||||||
"hostPath": "/home/alexz/ERP-Integration/backend/data",
|
"hostPath": "${APP_DATA_DIR}/data",
|
||||||
"containerPath": "/app/backend/data",
|
"containerPath": "/app/backend/data",
|
||||||
"readOnly": false
|
"readOnly": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"hostPath": "/home/alexz/ERP-Integration/backend/uploads",
|
"hostPath": "${APP_DATA_DIR}/uploads",
|
||||||
"containerPath": "/app/backend/uploads",
|
"containerPath": "/app/backend/uploads",
|
||||||
"readOnly": false
|
"readOnly": false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user