forked from DevOps/deploy.stack
25 lines
926 B
Plaintext
25 lines
926 B
Plaintext
# ============================================================
|
|
# anqicms 部署 — 公共环境变量模板
|
|
# 复制为 env.cfg 后填入真实值,env.cfg 已在 .gitignore 中忽略
|
|
# ============================================================
|
|
#
|
|
# 使用方式:
|
|
# cp env.cfg.example env.cfg
|
|
# $EDITOR env.cfg # 按需修改端口和镜像版本
|
|
# docker compose -p anqicms --env-file ./env.cfg -f ./stack.yml up -d
|
|
|
|
# ---------- 镜像 ----------
|
|
# anqicms 版本号
|
|
IMAGE_TAG_VER=latest
|
|
# 完整镜像引用(默认 Docker Hub 官方镜像)
|
|
IMAGE_TAG=anqicms/anqicms:${IMAGE_TAG_VER}
|
|
|
|
# ---------- 数据卷 ----------
|
|
# 宿主机持久化目录(存放应用配置、上传文件、缓存、主题、插件等)
|
|
# 部署前手动创建:mkdir -pv /data/volumes/anqicms
|
|
Volumes_Path=/data/volumes/anqicms
|
|
|
|
# ---------- 服务端口 ----------
|
|
# 宿主机端口(容器内固定 8001)
|
|
ANQICMS_PORT=8001
|