mirror of
https://git.wownero.com/lza_menace/docker-wownero.git
synced 2024-08-15 01:03:31 +00:00
refactor, better exporter, better dashboard
This commit is contained in:
parent
4a9f083dd7
commit
08960fd8c4
11 changed files with 5514 additions and 682 deletions
|
@ -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" ]
|
Loading…
Add table
Add a link
Reference in a new issue