appstore-1panel/apps/redis-commander/versions/0.8.1/config.json

126 lines
2.5 KiB
JSON
Raw Normal View History

2023-02-06 15:53:30 +08:00
{
"formFields": [
{
"type": "service",
"key": "redis",
"labelZh": "Redis 服务",
"labelEn": "Redis Service",
"required": true,
"default": "",
2023-03-08 23:35:42 +08:00
"envKey": "PANEL_DB_HOST"
2023-02-06 15:53:30 +08:00
},
{
"type": "password",
2023-02-13 15:30:25 +08:00
"labelZh": "Redis 密码",
"labelEn": "Redis Password",
2023-02-06 15:53:30 +08:00
"required": true,
2023-03-01 17:35:36 +08:00
"default": "",
2023-02-06 15:53:30 +08:00
"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
},
2023-02-06 15:53:30 +08:00
{
"type": "number",
"labelZh": "端口",
"labelEn": "Port",
"required": true,
"default": 8089,
2023-03-01 17:35:36 +08:00
"rule": "paramPort",
"envKey": "PANEL_APP_PORT_HTTP",
"edit": true
2023-02-06 15:53:30 +08:00
}
]
}