forked from DevOps/deploy.stack
1. 将所有环境变量中的Volumes_PATH统一改为Volumes_Path 2. 把旧的.env.cnf文件重命名为.env.cfg 3. 将compose.yaml文件统一替换为stack.yml/compose.yml格式 4. 删除冗余的旧版compose配置文件
14 lines
474 B
YAML
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} |