From b497b4ce4e0aeb9e3f10b5928a4b4750b1412c76 Mon Sep 17 00:00:00 2001 From: Moritz Date: Thu, 21 Dec 2023 01:40:52 +0100 Subject: [PATCH] shorten config names --- abra.sh | 2 +- compose.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/abra.sh b/abra.sh index 47450f9..3da9e65 100644 --- a/abra.sh +++ b/abra.sh @@ -1,4 +1,4 @@ -export NODE_EXPORTER_ENTRYPOINT_VERSION=v1 +export ENTRYPOINT_VERSION=v1 export GRAFANA_DATASOURCES_YML_VERSION=v1 export GRAFANA_DASHBOARDS_YML_VERSION=v1 export GRAFANA_SWARM_DASHBOARD_JSON_VERSION=v1 diff --git a/compose.yml b/compose.yml index e023972..d79af55 100644 --- a/compose.yml +++ b/compose.yml @@ -20,7 +20,7 @@ services: - "--collector.filesystem.ignored-mount-points=^/(sys|proc|dev|host|etc)($$|/)" - "--no-collector.ipvs" configs: - - source: node_exporter_entrypoint_sh + - source: entrypoint target: /entrypoint.sh networks: - internal @@ -76,8 +76,8 @@ services: start_period: 30s configs: - node_exporter_entrypoint_sh: - name: ${STACK_NAME}_node_exporter_entrypoint_${NODE_EXPORTER_ENTRYPOINT_VERSION} + entrypoint: + name: ${STACK_NAME}_entrypoint_${ENTRYPOINT_VERSION} file: node-exporter-entrypoint.sh