Files
deploy.stack/dbSer/postgres/env.cfg.example
T
moqiruyi 14f9ed8a27 chore(postgres): bump postgres image versions in env.cfg.example
- Update PostgreSQL 16 to 16.14
- Update PostgreSQL 17 to 17.10
- Update PostgreSQL 18 to 18.4
- Update PostgreSQL 15 to 15.18
2026-06-17 21:20:47 +08:00

31 lines
961 B
Plaintext

# ============================================================
# postgres 部署 — 公共环境变量模板(不含敏感信息)
# 复制为 env.cfg 后填入真实值,env.cfg 已被 .gitignore 忽略
# ============================================================
#
# 使用方式:
# cp env.cfg.example env.cfg
# $EDITOR env.cfg # 填入真实密码/密钥后保存
# docker compose -p postgres --env-file ./env.cfg -f ./stack.yml up -d
#
# ============================================================
# ⚠️ 敏感值(必填,env.cfg 不提交)
# ============================================================
# 密码为生成的密码,请使用时修改后再部署
#IMAGE_TAG=postgres:14.11-bookworm
#IMAGE_TAG=postgres:15.6-bookworm
IMAGE_TAG=postgres:16.14
IMAGE_TAG_V17=postgres:17.10
IMAGE_TAG_V18=postgres:18.4
IMAGE_TAG_V15=postgres:15.18
POSTGRES_PASSWORD=<your-strong-password>
POSTGRES_HOST_AUTH_METHOD=scram-sha-256