forked from DevOps/deploy.stack
feat(memos): 添加 env.cfg.example 环境变量模板
Signed-off-by: cnphpbb <moqiruyi@126.com>
This commit is contained in:
20
memos/env.cfg.example
Normal file
20
memos/env.cfg.example
Normal file
@@ -0,0 +1,20 @@
|
||||
# ============================================================
|
||||
# Memos 部署 — 公共环境变量
|
||||
# 复制为 env.cfg 后填入真实值,env.cfg 已在 .gitignore 中忽略
|
||||
# ============================================================
|
||||
#
|
||||
# 使用方式:
|
||||
# cp env.cfg.example env.cfg
|
||||
# # 数据库相关变量在 db-<env>.cnf 中独立配置(参考 db-184.cnf)
|
||||
# docker compose -p memos --env-file ./env.cfg --env-file ./db-61.cnf -f ./prod.stack.yml up -d
|
||||
|
||||
# ---------- 镜像 ----------
|
||||
# Memos 版本号
|
||||
IMAGE_TAG_VER=0.28.0
|
||||
# 完整镜像引用(私有仓库示例:hub.tp229.com:3500/neosmemo/memos:${IMAGE_TAG_VER})
|
||||
IMAGE_TAG=neosmemo/memos:${IMAGE_TAG_VER}
|
||||
|
||||
# ---------- 数据卷 ----------
|
||||
# 宿主机持久化目录,会挂载到容器 /var/opt/memos
|
||||
# 部署前手动创建:mkdir -pv /data/volumes/memos/data
|
||||
Volumes_Path=/data/volumes/memos
|
||||
Reference in New Issue
Block a user