default_config.json•1.79 kB
{
"configSchemaVersion": "1.0.0",
"panelName": "Sectional MCP Panel",
"globalDefaults": {
"settings": {
"environmentVars": {
"TZ": "UTC"
},
"resourceLimits": {
"cpuRequest": 0.1,
"cpuLimit": 0.5,
"memoryRequestMB": 64,
"memoryLimitMB": 256
},
"runtimeOptions": {
"restartPolicy": "on_failure",
"maxRestarts": 3,
"terminationGracePeriodSeconds": 30
},
"securityContext": {
"runAsUser": null,
"runAsGroup": null,
"readOnlyRootFilesystem": false
}
}
},
"sections": [
{
"sectionName": "Example Section",
"description": "An example section with sample servers",
"settings": {
"environmentVars": {
"SECTION_ENV": "example"
}
},
"servers": [
{
"serverName": "nginx-server",
"description": "Example Nginx web server",
"runtimeDefinition": {
"type": "docker_image",
"command": "nginx:latest",
"args": [],
"ports": [
{
"containerPort": 80,
"protocol": "TCP"
}
]
},
"settings": {
"environmentVars": {
"NGINX_HOST": "localhost"
}
}
},
{
"serverName": "redis-server",
"description": "Example Redis cache server",
"runtimeDefinition": {
"type": "docker_image",
"command": "redis:alpine",
"args": [],
"ports": [
{
"containerPort": 6379,
"protocol": "TCP"
}
]
}
}
]
}
]
}