merge: pull origin/main, resolve 4 conflicts (gitignore/AGENTS.md/daemon.json/it-tools)

This commit is contained in:
cnphpbb
2026-06-15 08:36:05 +08:00
47 changed files with 1104 additions and 25 deletions

20
memos/env.cfg.example Normal file
View 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.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