refactor: 统一环境变量命名并整理配置文件格式

1. 将所有环境变量中的Volumes_PATH统一改为Volumes_Path
2. 把旧的.env.cnf文件重命名为.env.cfg
3. 将compose.yaml文件统一替换为stack.yml/compose.yml格式
4. 删除冗余的旧版compose配置文件
This commit is contained in:
2026-05-17 00:38:41 +08:00
parent 659f7056fd
commit 60d30afaff
19 changed files with 156 additions and 20 deletions

19
ansible/compose.yml Normal file
View File

@@ -0,0 +1,19 @@
# DEPLOY:: docker compose -p base --env-file ./ansible/env.cfg -f ./ansible/compose.yml up -d
services:
ansible:
image: ${IMAGE_TAG}
volumes:
- ~/.ssh:/home/ansible-user/.ssh
- ./ansible.cfg:/etc/ansible/ansible.cfg
- ./ansible_hosts:/etc/ansible/hosts
- ~/playbooks:/home/ansible-user/playbooks
environment:
- ANSIBLE_HOST_KEY_CHECKING=False
tty: true
stdin_open: true
networks:
- ansible-net
networks:
ansible-net:
driver: bridge