diff --git a/apps/redisinsight/2.52.0/.env.sample b/apps/redisinsight/2.52.0/.env.sample new file mode 100644 index 00000000..7ad15435 --- /dev/null +++ b/apps/redisinsight/2.52.0/.env.sample @@ -0,0 +1,11 @@ +CONTAINER_NAME="redisinsight" +DATA_PATH="./data" +PANEL_APP_PORT_HTTP=40274 +RI_APP_HOST="0.0.0.0" +RI_ENCRYPTION_KEY="" +RI_FILES_LOGGER="true" +RI_LOG_LEVEL="info" +RI_PROXY_PATH="" +RI_SERVER_TLS_CERT="" +RI_SERVER_TLS_KEY="" +RI_STDOUT_LOGGER="true" diff --git a/apps/redisinsight/2.52.0/data.yml b/apps/redisinsight/2.52.0/data.yml new file mode 100644 index 00000000..bf50095d --- /dev/null +++ b/apps/redisinsight/2.52.0/data.yml @@ -0,0 +1,98 @@ +additionalProperties: + formFields: + - default: "40274" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "./data" + disabled: true + envKey: DATA_PATH + labelEn: Data Path + labelZh: 数据路径 + required: true + type: text + - default: "0.0.0.0" + edit: true + envKey: RI_APP_HOST + labelEn: Application Host + labelZh: 应用主机 + required: true + type: text + - default: "" + edit: true + envKey: RI_SERVER_TLS_KEY + labelEn: TLS Key Path + labelZh: TLS 密钥路径 + required: false + type: text + - default: "" + edit: true + envKey: RI_SERVER_TLS_CERT + labelEn: TLS Cert Path + labelZh: TLS 证书路径 + required: false + type: text + - default: "" + edit: true + envKey: RI_ENCRYPTION_KEY + labelEn: Encryption Key + labelZh: 加密密钥 + required: false + type: password + - default: "info" + edit: true + envKey: RI_LOG_LEVEL + labelEn: Log Level + labelZh: 日志级别 + required: true + type: select + values: + - label: error + value: error + - label: warn + value: warn + - label: info + value: info + - label: http + value: http + - label: verbose + value: verbose + - label: debug + value: debug + - label: silly + value: silly + - default: "true" + edit: true + envKey: RI_FILES_LOGGER + labelEn: Files Logger + labelZh: 文件日志 + required: false + type: select + values: + - label: "True" + value: "true" + - label: "False" + value: "false" + - default: "true" + edit: true + envKey: RI_STDOUT_LOGGER + labelEn: Stdout Logger + labelZh: 标准输出日志 + required: false + type: select + values: + - label: "True" + value: "true" + - label: "False" + value: "false" + - default: "" + edit: true + envKey: RI_PROXY_PATH + labelEn: Proxy Path + labelZh: 代理路径 + required: false + type: text diff --git a/apps/redisinsight/2.52.0/data/.gitkeep b/apps/redisinsight/2.52.0/data/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/apps/redisinsight/2.52.0/docker-compose.yml b/apps/redisinsight/2.52.0/docker-compose.yml new file mode 100644 index 00000000..97470dfd --- /dev/null +++ b/apps/redisinsight/2.52.0/docker-compose.yml @@ -0,0 +1,27 @@ +services: + redisinsight: + image: "redis/redisinsight:2.52.0" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}" + volumes: + - ${DATA_PATH}:/data + environment: + - RI_APP_PORT=${PANEL_APP_PORT_HTTP} + - RI_APP_HOST=${RI_APP_HOST} + - RI_SERVER_TLS_KEY=${RI_SERVER_TLS_KEY} + - RI_SERVER_TLS_CERT=${RI_SERVER_TLS_CERT} + - RI_ENCRYPTION_KEY=${RI_ENCRYPTION_KEY} + - RI_LOG_LEVEL=${RI_LOG_LEVEL} + - RI_FILES_LOGGER=${RI_FILES_LOGGER} + - RI_STDOUT_LOGGER=${RI_STDOUT_LOGGER} + - RI_PROXY_PATH=${RI_PROXY_PATH} + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/redisinsight/2.52.0/scripts/init.sh b/apps/redisinsight/2.52.0/scripts/init.sh new file mode 100644 index 00000000..4e811c86 --- /dev/null +++ b/apps/redisinsight/2.52.0/scripts/init.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +chown -R 1000:1000 data \ No newline at end of file diff --git a/apps/redisinsight/README.md b/apps/redisinsight/README.md new file mode 100644 index 00000000..aa9adb69 --- /dev/null +++ b/apps/redisinsight/README.md @@ -0,0 +1,9 @@ +[![版本发布](https://img.shields.io/github/v/release/RedisInsight/RedisInsight.svg?sort=semver)](https://github.com/RedisInsight/RedisInsight/releases) +[![CircleCI](https://circleci.com/gh/RedisInsight/RedisInsight/tree/main.svg?style=svg)](https://circleci.com/gh/RedisInsight/RedisInsight/tree/main) +[![论坛](https://img.shields.io/badge/Forum-RedisInsight-red)](https://forum.redis.com/c/redisinsight/65) +[![Discord](https://img.shields.io/discord/697882427875393627?style=flat-square)](https://discord.gg/QUkjSsk) + +# Redis Insight - Redis 开发者 GUI,由 Redis 开发。 + +Redis Insight 是一个可视化工具,提供设计、开发和优化 Redis 应用程序的功能。 +查询、分析和与 Redis 数据交互。[在这里下载](https://redis.io/insight/#insight-form)! \ No newline at end of file diff --git a/apps/redisinsight/data.yml b/apps/redisinsight/data.yml new file mode 100644 index 00000000..1c6a2afb --- /dev/null +++ b/apps/redisinsight/data.yml @@ -0,0 +1,19 @@ +name: RedisInsight +tags: + - 开发工具 +title: Redis 图形管理工具 +description: Redis 图形管理工具 +additionalProperties: + key: redisinsight + name: RedisInsight + tags: + - DevTool + shortDescZh: Redis 图形管理工具 + shortDescEn: Redis graphical management tool + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://redis.com/redis-enterprise/redis-insight/ + github: https://github.com/RedisInsight/RedisInsight + document: https://docs.redis.com/latest/ri/ diff --git a/apps/redisinsight/latest/.env.sample b/apps/redisinsight/latest/.env.sample new file mode 100644 index 00000000..7ad15435 --- /dev/null +++ b/apps/redisinsight/latest/.env.sample @@ -0,0 +1,11 @@ +CONTAINER_NAME="redisinsight" +DATA_PATH="./data" +PANEL_APP_PORT_HTTP=40274 +RI_APP_HOST="0.0.0.0" +RI_ENCRYPTION_KEY="" +RI_FILES_LOGGER="true" +RI_LOG_LEVEL="info" +RI_PROXY_PATH="" +RI_SERVER_TLS_CERT="" +RI_SERVER_TLS_KEY="" +RI_STDOUT_LOGGER="true" diff --git a/apps/redisinsight/latest/data.yml b/apps/redisinsight/latest/data.yml new file mode 100644 index 00000000..bf50095d --- /dev/null +++ b/apps/redisinsight/latest/data.yml @@ -0,0 +1,98 @@ +additionalProperties: + formFields: + - default: "40274" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "./data" + disabled: true + envKey: DATA_PATH + labelEn: Data Path + labelZh: 数据路径 + required: true + type: text + - default: "0.0.0.0" + edit: true + envKey: RI_APP_HOST + labelEn: Application Host + labelZh: 应用主机 + required: true + type: text + - default: "" + edit: true + envKey: RI_SERVER_TLS_KEY + labelEn: TLS Key Path + labelZh: TLS 密钥路径 + required: false + type: text + - default: "" + edit: true + envKey: RI_SERVER_TLS_CERT + labelEn: TLS Cert Path + labelZh: TLS 证书路径 + required: false + type: text + - default: "" + edit: true + envKey: RI_ENCRYPTION_KEY + labelEn: Encryption Key + labelZh: 加密密钥 + required: false + type: password + - default: "info" + edit: true + envKey: RI_LOG_LEVEL + labelEn: Log Level + labelZh: 日志级别 + required: true + type: select + values: + - label: error + value: error + - label: warn + value: warn + - label: info + value: info + - label: http + value: http + - label: verbose + value: verbose + - label: debug + value: debug + - label: silly + value: silly + - default: "true" + edit: true + envKey: RI_FILES_LOGGER + labelEn: Files Logger + labelZh: 文件日志 + required: false + type: select + values: + - label: "True" + value: "true" + - label: "False" + value: "false" + - default: "true" + edit: true + envKey: RI_STDOUT_LOGGER + labelEn: Stdout Logger + labelZh: 标准输出日志 + required: false + type: select + values: + - label: "True" + value: "true" + - label: "False" + value: "false" + - default: "" + edit: true + envKey: RI_PROXY_PATH + labelEn: Proxy Path + labelZh: 代理路径 + required: false + type: text diff --git a/apps/redisinsight/latest/data/.gitkeep b/apps/redisinsight/latest/data/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/apps/redisinsight/latest/docker-compose.yml b/apps/redisinsight/latest/docker-compose.yml new file mode 100644 index 00000000..bb82c934 --- /dev/null +++ b/apps/redisinsight/latest/docker-compose.yml @@ -0,0 +1,27 @@ +services: + redisinsight: + image: "redis/redisinsight:latest" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}" + volumes: + - ${DATA_PATH}:/data + environment: + - RI_APP_PORT=${PANEL_APP_PORT_HTTP} + - RI_APP_HOST=${RI_APP_HOST} + - RI_SERVER_TLS_KEY=${RI_SERVER_TLS_KEY} + - RI_SERVER_TLS_CERT=${RI_SERVER_TLS_CERT} + - RI_ENCRYPTION_KEY=${RI_ENCRYPTION_KEY} + - RI_LOG_LEVEL=${RI_LOG_LEVEL} + - RI_FILES_LOGGER=${RI_FILES_LOGGER} + - RI_STDOUT_LOGGER=${RI_STDOUT_LOGGER} + - RI_PROXY_PATH=${RI_PROXY_PATH} + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/redisinsight/latest/scripts/init.sh b/apps/redisinsight/latest/scripts/init.sh new file mode 100644 index 00000000..4e811c86 --- /dev/null +++ b/apps/redisinsight/latest/scripts/init.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +chown -R 1000:1000 data \ No newline at end of file diff --git a/apps/redisinsight/logo.png b/apps/redisinsight/logo.png new file mode 100644 index 00000000..5ef30927 Binary files /dev/null and b/apps/redisinsight/logo.png differ