diff --git a/apps/halo/versions/2.2.0/config.json b/apps/halo/versions/2.2.0/config.json index 409e7838..85751fe4 100644 --- a/apps/halo/versions/2.2.0/config.json +++ b/apps/halo/versions/2.2.0/config.json @@ -42,7 +42,7 @@ "default": "halo", "random": true, "rule": "paramCommon", - "envKey": "PANEL_DB_NAME", + "envKey": "PANEL_DB_NAME" }, { "type": "text", @@ -52,7 +52,7 @@ "default": "halo", "random": true, "rule": "paramCommon", - "envKey": "PANEL_DB_USER", + "envKey": "PANEL_DB_USER" }, { "type": "password", @@ -62,7 +62,7 @@ "default": "halo", "random": true, "rule": "paramComplexity", - "envKey": "PANEL_DB_USER_PASSWORD", + "envKey": "PANEL_DB_USER_PASSWORD" }, { "type": "text", @@ -72,7 +72,7 @@ "default": "admin", "random": true, "rule": "paramCommon", - "envKey": "HALO_ADMIN", + "envKey": "HALO_ADMIN" }, { "type": "password", @@ -82,7 +82,7 @@ "default": "halo", "random": true, "rule": "paramComplexity", - "envKey": "HALO_ADMIN_PASSWORD", + "envKey": "HALO_ADMIN_PASSWORD" }, { "type": "text", diff --git a/apps/halo/versions/2.3.2/config.json b/apps/halo/versions/2.3.2/config.json index 409e7838..85751fe4 100644 --- a/apps/halo/versions/2.3.2/config.json +++ b/apps/halo/versions/2.3.2/config.json @@ -42,7 +42,7 @@ "default": "halo", "random": true, "rule": "paramCommon", - "envKey": "PANEL_DB_NAME", + "envKey": "PANEL_DB_NAME" }, { "type": "text", @@ -52,7 +52,7 @@ "default": "halo", "random": true, "rule": "paramCommon", - "envKey": "PANEL_DB_USER", + "envKey": "PANEL_DB_USER" }, { "type": "password", @@ -62,7 +62,7 @@ "default": "halo", "random": true, "rule": "paramComplexity", - "envKey": "PANEL_DB_USER_PASSWORD", + "envKey": "PANEL_DB_USER_PASSWORD" }, { "type": "text", @@ -72,7 +72,7 @@ "default": "admin", "random": true, "rule": "paramCommon", - "envKey": "HALO_ADMIN", + "envKey": "HALO_ADMIN" }, { "type": "password", @@ -82,7 +82,7 @@ "default": "halo", "random": true, "rule": "paramComplexity", - "envKey": "HALO_ADMIN_PASSWORD", + "envKey": "HALO_ADMIN_PASSWORD" }, { "type": "text", diff --git a/apps/list.json b/apps/list.json index 9d8e71f4..ef9809c5 100644 --- a/apps/list.json +++ b/apps/list.json @@ -115,7 +115,7 @@ "key": "redis-commander", "name": "Redis-Commander", "tags": ["Tool"], - "versions": ["0.8.0"], + "versions": ["0.8.1"], "shortDescZh": "Redis web 管理工具", "shortDescEn": "Redis web management tool", "type": "tool", diff --git a/apps/redis-commander/versions/0.8.0/README.md b/apps/redis-commander/versions/0.8.1/README.md similarity index 100% rename from apps/redis-commander/versions/0.8.0/README.md rename to apps/redis-commander/versions/0.8.1/README.md diff --git a/apps/redis-commander/versions/0.8.0/config.json b/apps/redis-commander/versions/0.8.1/config.json similarity index 50% rename from apps/redis-commander/versions/0.8.0/config.json rename to apps/redis-commander/versions/0.8.1/config.json index 7d6cc66d..fe62fc91 100644 --- a/apps/redis-commander/versions/0.8.0/config.json +++ b/apps/redis-commander/versions/0.8.1/config.json @@ -17,6 +17,28 @@ "default": "", "envKey": "PANEL_DB_ROOT_PASSWORD" }, + { + "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": "端口", @@ -24,7 +46,8 @@ "required": true, "default": 8089, "rule": "paramPort", - "envKey": "PANEL_APP_PORT_HTTP" + "envKey": "PANEL_APP_PORT_HTTP", + "edit": true } ] } \ No newline at end of file diff --git a/apps/redis-commander/versions/0.8.0/docker-compose.yml b/apps/redis-commander/versions/0.8.1/docker-compose.yml similarity index 69% rename from apps/redis-commander/versions/0.8.0/docker-compose.yml rename to apps/redis-commander/versions/0.8.1/docker-compose.yml index 883b0667..25e1d2bc 100644 --- a/apps/redis-commander/versions/0.8.0/docker-compose.yml +++ b/apps/redis-commander/versions/0.8.1/docker-compose.yml @@ -1,18 +1,20 @@ -version: '3' -services: - redis-commander: - container_name: ${CONTAINER_NAME} - hostname: redis-commander - image: rediscommander/redis-commander:latest - restart: always - networks: - - 1panel-network - environment: - - REDIS_HOSTS=1panel:${PANEL_DB_HOST}:6379:0:${PANEL_DB_ROOT_PASSWORD} - ports: - - ${PANEL_APP_PORT_HTTP}:8081 - labels: - createdBy: "Apps" networks: 1panel-network: - external: true \ No newline at end of file + external: true +services: + redis-commander-XnlR: + container_name: ${CONTAINER_NAME} + environment: + - REDIS_HOSTS=1panel:${PANEL_DB_HOST}:6379:0:${PANEL_DB_ROOT_PASSWORD} + - HTTP_USER=${COMMANDER_ADMIN} + - HTTP_PASSWORD=${COMMANDER_PASSWORD} + hostname: redis-commander + image: rediscommander/redis-commander:latest + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:8081 + restart: always +version: "3" \ No newline at end of file