Files
deploy.stack/domain-admin/stack.yml
cnphpbb 60d30afaff refactor: 统一环境变量命名并整理配置文件格式
1. 将所有环境变量中的Volumes_PATH统一改为Volumes_Path
2. 把旧的.env.cnf文件重命名为.env.cfg
3. 将compose.yaml文件统一替换为stack.yml/compose.yml格式
4. 删除冗余的旧版compose配置文件
2026-05-17 00:38:41 +08:00

14 lines
474 B
YAML

# Pull: docker compose -p domain-admin --env-file ./domain-admin/env.cfg -f ./domain-admin/stack.yml pull
# Run:: docker compose -p domain-admin --env-file ./domain-admin/env.cfg -f ./domain-admin/stack.yml up -d
services:
domain-admin:
volumes:
- '${Volumes_Path}/database:/app/database'
- '${Volumes_Path}/logs:/app/logs'
ports:
- '9800:8000'
environment:
APP_MODE: production
container_name: domain-admin
image: ${IMAGE_TAG}