Files
deploy.stack/memos/env.cfg.example

21 lines
876 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ============================================================
# 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.29.1
# 完整镜像引用私有仓库示例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