File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ RUN case "$(uname -m)" in \
24
24
&& tar -xjvf monero-linux-${ARCH}-${MONERO_VERSION}.tar.bz2 --strip-components 1 \
25
25
&& rm -f monero-linux-${ARCH}-${MONERO_VERSION}.tar.bz2
26
26
27
-
28
27
# #################
29
28
# -- exporter -- #
30
29
# #################
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- /opt/monero/monero-exporter \
4
- --bind-addr " ${EXPORTER_BIND:- " :9000" } " \
5
- --monero-addr " http://127.0.0.1:18081" \
6
- --telemetry-path " ${EXPORTER_PATH:- " /metrics" } " &
3
+ if [ " ${EXPORTER_ENABLED:- " true" } " = " true" ]; then
4
+ /opt/monero/monero-exporter \
5
+ --bind-addr " ${EXPORTER_BIND:- " :9000" } " \
6
+ --monero-addr " http://127.0.0.1:18081" \
7
+ --telemetry-path " ${EXPORTER_PATH:- " /metrics" } " &
8
+ fi
7
9
8
10
/opt/monero/monerod " $@ "
9
11
You can’t perform that action at this time.
0 commit comments