forked from DevOps/deploy.stack
chore: 为所有服务补全 env.cfg.example 模板
This commit is contained in:
26
dbSer/redis/env.cfg.example
Normal file
26
dbSer/redis/env.cfg.example
Normal file
@@ -0,0 +1,26 @@
|
||||
# ============================================================
|
||||
# redis 部署 — 公共环境变量模板(不含敏感信息)
|
||||
# 复制为 env.cfg 后填入真实值,env.cfg 已被 .gitignore 忽略
|
||||
# ============================================================
|
||||
#
|
||||
# 使用方式:
|
||||
# cp env.cfg.example env.cfg
|
||||
# $EDITOR env.cfg # 填入真实密码/密钥后保存
|
||||
# docker compose -p redis --env-file ./env.cfg -f ./stack.yml up -d
|
||||
#
|
||||
# ============================================================
|
||||
# ⚠️ 敏感值(必填,env.cfg 不提交)
|
||||
# ============================================================
|
||||
IMAGE_TAG_REDISV6=redis:6.2.21-alpine
|
||||
|
||||
IMAGE_TAG_REDISV7=redis:7.4.7-alpine
|
||||
|
||||
IMAGE_TAG_REDISV8=redis:8.4.0-alpine
|
||||
|
||||
IMAGE_TAG_VALKEY_Latest=valkey/valkey:9.0.0
|
||||
|
||||
IMAGE_TAG_VALKEY_V8=valkey/valkey:8.1.5
|
||||
|
||||
Volumes_Path=/data/volumes/redis
|
||||
|
||||
REDIS_PASSWORD=<your-strong-password>
|
||||
Reference in New Issue
Block a user