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:
16
victoriametrics/compose.yml
Normal file
16
victoriametrics/compose.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
services:
|
||||
victoriametrics:
|
||||
image: ${IMAGE_TAG}
|
||||
container_name: victoriametrics
|
||||
restart: unless-stopped
|
||||
hostname: victoriametrics
|
||||
environment:
|
||||
TZ: Asia/Shanghai
|
||||
ports:
|
||||
- 8428:8428
|
||||
volumes:
|
||||
- ${Volumes_Path}/data:/victoria-metrics-data
|
||||
command:
|
||||
- "--storageDataPath=/victoria-metrics-data"
|
||||
- "--loggerTimezone=Asia/Shanghai"
|
||||
Reference in New Issue
Block a user