refactor, better exporter, better dashboard

This commit is contained in:
lza_menace 2022-09-19 12:54:26 -07:00
parent 4a9f083dd7
commit 08960fd8c4
11 changed files with 5514 additions and 682 deletions

View file

@ -1,11 +1,10 @@
FROM node:8
FROM ubuntu:22.04
WORKDIR /opt/wownerod_exporter
RUN apt-get update && apt-get install wget tar -y
RUN git clone https://github.com/lalanza808/monerod_exporter.git --branch=master --depth=1 .
RUN wget https://github.com/cirocosta/monero-exporter/releases/download/v0.0.2/monero-exporter_0.0.2_linux_amd64.tar.gz -O monero-exporter.tar.gz && \
tar xzvf monero-exporter.tar.gz && \
mv ./monero-exporter /usr/local/bin && \
chmod +x /usr/local/bin/monero-exporter
RUN npm install
EXPOSE 8080
ENTRYPOINT ["node", "index.js"]
ENTRYPOINT [ "/usr/local/bin/monero-exporter" ]