shorten config names

This commit is contained in:
Moritz 2023-12-21 01:40:52 +01:00
parent 29b3fcd7d1
commit b497b4ce4e
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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