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:
parent
aaacc3696f
commit
bd44c06e97
2348
redis/8.0.2/conf/redis.conf
Normal file
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
34
redis/8.0.2/data.yml
Executable 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
|
||||
25
redis/8.0.2/docker-compose.yml
Normal file
25
redis/8.0.2/docker-compose.yml
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user