1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-04-17 06:19:34 +08:00

feat: Support for Redis V8

This commit is contained in:
wanghe-fit2cloud 2025-05-30 15:39:25 +08:00
parent aaacc3696f
commit bd44c06e97
3 changed files with 2407 additions and 0 deletions

2348
redis/8.0.2/conf/redis.conf Normal file

File diff suppressed because it is too large Load Diff

34
redis/8.0.2/data.yml Executable file
View File

@ -0,0 +1,34 @@
additionalProperties:
formFields:
- default: redis
envKey: PANEL_REDIS_ROOT_PASSWORD
labelEn: Database Password
labelZh: 数据库密码
label:
en: Database Password
ja: データベースのパスワード
ms: Kata Laluan Pangkalan Data
pt-br: Senha do Banco de Dados
ru: Пароль базы данных
ko: 데이터베이스 비밀번호
zh-hant: 資料庫密碼
zh: 数据库密码
random: true
required: false
type: password
- default: 6379
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
label:
en: Port
ja: ポート
ms: Port
pt-br: Porta
ru: Порт
ko: 포트
zh-Hant:
zh: 端口
required: true
rule: paramPort
type: number

View File

@ -0,0 +1,25 @@
services:
redis:
image: redis:8.0.2
restart: always
container_name: ${CONTAINER_NAME}
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:6379
command: >
sh -c '
if [ -z "${PANEL_REDIS_ROOT_PASSWORD}" ]; then
redis-server /etc/redis/redis.conf
else
redis-server /etc/redis/redis.conf --requirepass ${PANEL_REDIS_ROOT_PASSWORD}
fi'
volumes:
- ./data:/data
- ./conf/redis.conf:/etc/redis/redis.conf
- ./logs:/logs
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true