appstore-1panel/apps/redis-commander/versions/0.8.1/config.json
2023-03-24 15:49:46 +08:00

126 lines
2.5 KiB
JSON

{
"formFields": [
{
"type": "service",
"key": "redis",
"labelZh": "Redis 服务",
"labelEn": "Redis Service",
"required": true,
"default": "",
"envKey": "PANEL_DB_HOST"
},
{
"type": "password",
"labelZh": "Redis 密码",
"labelEn": "Redis Password",
"required": true,
"default": "",
"envKey": "PANEL_DB_ROOT_PASSWORD"
},
{
"type": "select",
"labelZh": "数据库",
"labelEn": "Database",
"required": true,
"default": "0",
"values": [
{
"label": "db0",
"value": "0"
},
{
"label": "db1",
"value": "1"
},
{
"label": "db2",
"value": "2"
},
{
"label": "db3",
"value": "3"
},
{
"label": "db4",
"value": "4"
},
{
"label": "db5",
"value": "5"
},
{
"label": "db6",
"value": "6"
},
{
"label": "db7",
"value": "7"
},
{
"label": "db8",
"value": "8"
}, {
"label": "db9",
"value": "9"
},
{
"label": "db10",
"value": "10"
},
{
"label": "db11",
"value": "11"
},
{
"label": "db12",
"value": "12"
},
{
"label": "db13",
"value": "13"
}, {
"label": "db14",
"value": "14"
},
{
"label": "db15",
"value": "15"
}
],
"envKey": "REDIS_DB",
"edit": true
},
{
"type": "text",
"labelZh": "登录用户名",
"labelEn": "Username",
"required": true,
"default": "root",
"random": true,
"rule": "paramCommon",
"envKey": "COMMANDER_ADMIN",
"edit": true
},
{
"type": "text",
"labelZh": "登录密码",
"labelEn": "Password",
"required": true,
"default": "P@ssword@redis",
"random": true,
"rule": "paramComplexity",
"envKey": "COMMANDER_PASSWORD",
"edit": true
},
{
"type": "number",
"labelZh": "端口",
"labelEn": "Port",
"required": true,
"default": 8089,
"rule": "paramPort",
"envKey": "PANEL_APP_PORT_HTTP",
"edit": true
}
]
}