feat(memos): add pgsql sidecar and unify db port

- Add PostgreSQL container to local and prod stacks with healthcheck
- Change external DB port from 5432 to 15432 in all env configs
- Rename env-lkc.cnf to db-lkc.cnf for consistency
- Add db-local.cnf for local PostgreSQL deployment
This commit is contained in:
2026-06-19 16:26:55 +08:00
parent 9c08233d4e
commit c55d90040c
7 changed files with 83 additions and 18 deletions
+1
View File
@@ -13,6 +13,7 @@
IMAGE_TAG_VER=0.29.1
# 完整镜像引用(私有仓库示例:hub.tp229.com:3500/neosmemo/memos:${IMAGE_TAG_VER}
IMAGE_TAG=neosmemo/memos:${IMAGE_TAG_VER}
PGSQL_IMAGE_TAG=postgres:18.4
# ---------- 数据卷 ----------
# 宿主机持久化目录,会挂载到容器 /var/opt/memos