From 1bf511a2799264a94d872fa1e9aa3f1b44085053 Mon Sep 17 00:00:00 2001 From: cnphpbb Date: Wed, 1 Oct 2025 22:25:57 +0800 Subject: [PATCH] =?UTF-8?q?build(victoriametrics):=20=E6=B7=BB=E5=8A=A0Vic?= =?UTF-8?q?toriaMetrics=E7=9A=84=E9=85=8D=E7=BD=AE=E5=92=8C=E9=83=A8?= =?UTF-8?q?=E7=BD=B2=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加env.cfg配置文件定义镜像版本和存储路径 添加compose.yaml文件配置容器部署参数 --- victoriametrics/compose.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 victoriametrics/compose.yaml diff --git a/victoriametrics/compose.yaml b/victoriametrics/compose.yaml new file mode 100644 index 0000000..86b2db7 --- /dev/null +++ b/victoriametrics/compose.yaml @@ -0,0 +1,11 @@ + +services: + victoriametrics: + image: ${IMAGE_TAG} + container_name: victoriametrics + restart: unless-stopped + ports: + - 8428:8428 + - 8080:8080 + volumes: + - ${Volumes_Path}/data:/victoria-metrics-data