Merge QYG2297248353/appstore-1panel into pooneyy/1Panel-Appstore
This commit is contained in:
1877
apps/redis/6.2.18/config/redis.conf
Normal file
1877
apps/redis/6.2.18/config/redis.conf
Normal file
File diff suppressed because it is too large
Load Diff
23
apps/redis/6.2.18/data.yml
Normal file
23
apps/redis/6.2.18/data.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "/home/redis"
|
||||
envKey: REDIS_ROOT_PATH
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
required: true
|
||||
type: text
|
||||
- default: 6379
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: 端口
|
||||
labelEn: Port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ""
|
||||
envKey: REDIS_ROOT_PASSWORD
|
||||
labelZh: 密码
|
||||
labelEn: Password
|
||||
random: true
|
||||
required: false
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
26
apps/redis/6.2.18/docker-compose.yml
Normal file
26
apps/redis/6.2.18/docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
redis:
|
||||
image: redis:6.2.18-alpine
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:6379
|
||||
command: >
|
||||
sh -c '
|
||||
if [ -z "${REDIS_ROOT_PASSWORD}" ]; then
|
||||
redis-server /etc/redis/redis.conf
|
||||
else
|
||||
redis-server /etc/redis/redis.conf --requirepass ${REDIS_ROOT_PASSWORD}
|
||||
fi'
|
||||
volumes:
|
||||
- ${REDIS_ROOT_PATH}/data:/data
|
||||
- ${REDIS_ROOT_PATH}/config/redis.conf:/etc/redis/redis.conf
|
||||
- ${REDIS_ROOT_PATH}/logs:/logs
|
||||
2
apps/redis/6.2.18/envs/default.env
Normal file
2
apps/redis/6.2.18/envs/default.env
Normal file
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
||||
2
apps/redis/6.2.18/envs/global.env
Normal file
2
apps/redis/6.2.18/envs/global.env
Normal file
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
||||
18
apps/redis/6.2.18/scripts/init.sh
Normal file
18
apps/redis/6.2.18/scripts/init.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
mkdir -p "$REDIS_ROOT_PATH"
|
||||
|
||||
mkdir -p "$REDIS_ROOT_PATH/data"
|
||||
mkdir -p "$REDIS_ROOT_PATH/config"
|
||||
mkdir -p "$REDIS_ROOT_PATH/logs"
|
||||
|
||||
cp ./config/redis.conf "$REDIS_ROOT_PATH/config/redis.conf"
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
10
apps/redis/6.2.18/scripts/uninstall.sh
Normal file
10
apps/redis/6.2.18/scripts/uninstall.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
10
apps/redis/6.2.18/scripts/upgrade.sh
Normal file
10
apps/redis/6.2.18/scripts/upgrade.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
2276
apps/redis/7.4.4/config/redis.conf
Normal file
2276
apps/redis/7.4.4/config/redis.conf
Normal file
File diff suppressed because it is too large
Load Diff
23
apps/redis/7.4.4/data.yml
Normal file
23
apps/redis/7.4.4/data.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "/home/redis"
|
||||
envKey: REDIS_ROOT_PATH
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
required: true
|
||||
type: text
|
||||
- default: 6379
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: 端口
|
||||
labelEn: Port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ""
|
||||
envKey: REDIS_ROOT_PASSWORD
|
||||
labelZh: 密码
|
||||
labelEn: Password
|
||||
random: true
|
||||
required: false
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
26
apps/redis/7.4.4/docker-compose.yml
Normal file
26
apps/redis/7.4.4/docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
redis:
|
||||
image: redis:7.4.4-alpine
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:6379
|
||||
command: >
|
||||
sh -c '
|
||||
if [ -z "${REDIS_ROOT_PASSWORD}" ]; then
|
||||
redis-server /etc/redis/redis.conf
|
||||
else
|
||||
redis-server /etc/redis/redis.conf --requirepass ${REDIS_ROOT_PASSWORD}
|
||||
fi'
|
||||
volumes:
|
||||
- ${REDIS_ROOT_PATH}/data:/data
|
||||
- ${REDIS_ROOT_PATH}/config/redis.conf:/etc/redis/redis.conf
|
||||
- ${REDIS_ROOT_PATH}/logs:/logs
|
||||
2
apps/redis/7.4.4/envs/default.env
Normal file
2
apps/redis/7.4.4/envs/default.env
Normal file
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
||||
2
apps/redis/7.4.4/envs/global.env
Normal file
2
apps/redis/7.4.4/envs/global.env
Normal file
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
||||
18
apps/redis/7.4.4/scripts/init.sh
Normal file
18
apps/redis/7.4.4/scripts/init.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
mkdir -p "$REDIS_ROOT_PATH"
|
||||
|
||||
mkdir -p "$REDIS_ROOT_PATH/data"
|
||||
mkdir -p "$REDIS_ROOT_PATH/config"
|
||||
mkdir -p "$REDIS_ROOT_PATH/logs"
|
||||
|
||||
cp ./config/redis.conf "$REDIS_ROOT_PATH/config/redis.conf"
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
10
apps/redis/7.4.4/scripts/uninstall.sh
Normal file
10
apps/redis/7.4.4/scripts/uninstall.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
10
apps/redis/7.4.4/scripts/upgrade.sh
Normal file
10
apps/redis/7.4.4/scripts/upgrade.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
23
apps/redis/README.md
Normal file
23
apps/redis/README.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# Redis
|
||||
|
||||
Redis(Remote Dictionary Server)是一种开源的内存数据库,通常用作缓存系统或键值存储数据库。
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## 简介
|
||||
|
||||
Redis 通常被称为数据结构服务器。这意味着,Redis 可通过一系列命令访问可变数据结构,这些命令通过 TCP
|
||||
套接字和简单协议以服务器-客户端模式发送。因此,不同进程可以通过共享方式查询和修改相同的数据结构。
|
||||
|
||||
Redis 中的数据结构具有一些特殊属性:
|
||||
|
||||
+ Redis 会将它们存储在磁盘上,即使它们总是在服务器内存中提供和修改。这意味着 Redis 不仅速度快,而且不易挥发。
|
||||
+ 数据结构的实现强调内存效率,因此与使用高级编程语言建模的相同数据结构相比,Redis 中的数据结构使用的内存可能更少。
|
||||
+ Redis 提供了许多在数据库中自然能找到的功能,如复制、可调整的耐用性级别、集群和高可用性。
|
||||
另一个很好的例子是,将 Redis 视为更复杂版本的 memcached,其中的操作不仅仅是 SET 和 GET,而是处理复杂数据类型(如列表、集合、有序数据结构等)的操作。
|
||||
|
||||
---
|
||||
|
||||

|
||||
16
apps/redis/data.yml
Normal file
16
apps/redis/data.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
additionalProperties:
|
||||
key: redis
|
||||
name: Redis
|
||||
tags:
|
||||
- Database
|
||||
- Runtime
|
||||
- Storage
|
||||
- Local
|
||||
shortDescZh: 高性能的开源键值数据库
|
||||
shortDescEn: High-performance key-value database
|
||||
type: runtime
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
website: https://redis.io/
|
||||
github: https://github.com/redis/redis/
|
||||
document: https://redis.io/docs/
|
||||
BIN
apps/redis/logo.png
Normal file
BIN
apps/redis/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.0 KiB |
Reference in New Issue
Block a user