forked from DevOps/deploy.stack
22 lines
757 B
YAML
22 lines
757 B
YAML
# path:: mkdir -pv /data/volumes/anqicms
|
|
# pull:: docker compose -p anqicms --env-file ./anqicms/env.cfg -f ./anqicms/stack.yml pull
|
|
# run:: docker compose -p anqicms --env-file ./anqicms/env.cfg -f ./anqicms/stack.yml up -d
|
|
# disc::
|
|
# - /app 是容器内应用数据根目录(配置、上传、缓存、主题、插件等)
|
|
# - bind 挂载到 ${Volumes_Path} 实现持久化
|
|
# - 首次启动后通过 http://<host>:8001 进入安装向导
|
|
|
|
services:
|
|
anqicms:
|
|
image: ${IMAGE_TAG}
|
|
container_name: anqicms
|
|
restart: unless-stopped
|
|
environment:
|
|
- TZ=Asia/Shanghai
|
|
ports:
|
|
- "${ANQICMS_PORT}:8001"
|
|
volumes:
|
|
- ${Volumes_Path}:/app
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|