forked from DevOps/deploy.stack
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:
@@ -1,5 +1,5 @@
|
||||
IMAGE_TAG_VER=1.25.2-rootless
|
||||
IMAGE_TAG=gitea/gitea:${IMAGE_TAG_VER}
|
||||
Volumes_PATH=/data/volumes/gitea
|
||||
Volumes_Path=/data/volumes/gitea
|
||||
LAY_SSH_HOST_PORT=22
|
||||
SSH_HOST_PORT=2222
|
||||
@@ -17,8 +17,8 @@ services:
|
||||
volumes:
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- ${Volumes_PATH}/data:/var/lib/gitea
|
||||
- ${Volumes_PATH}/config:/etc/gitea
|
||||
- ${Volumes_Path}/data:/var/lib/gitea
|
||||
- ${Volumes_Path}/config:/etc/gitea
|
||||
ports:
|
||||
- 3000:3000
|
||||
- ${LAY_SSH_HOST_PORT}:2222
|
||||
@@ -17,8 +17,8 @@ services:
|
||||
volumes:
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- ${Volumes_PATH}/data:/var/lib/gitea
|
||||
- ${Volumes_PATH}/config:/etc/gitea
|
||||
- ${Volumes_Path}/data:/var/lib/gitea
|
||||
- ${Volumes_Path}/config:/etc/gitea
|
||||
ports:
|
||||
- 3000:3000
|
||||
- ${SSH_HOST_PORT}:2222
|
||||
|
||||
Reference in New Issue
Block a user