Commit ae5a63bb authored by Alex Thomae's avatar Alex Thomae

Merge branch 'master' into 'latest'

Updates README.md and fixes some minor copy/paste errors

See merge request docker/ripple-exporter!2
parents da8e4db7 47686b21
......@@ -12,7 +12,7 @@ pylint:
image: python:latest
stage: lint
script:
- pip install prometheus_client pylint coinbase
- pip install prometheus_client pylint requests
- pylint --rcfile=.pylintrc *.py
build:
......
FROM hub.ix.ai/docker/alpine:latest
LABEL ai.ix.maintainer="docker@ix.ai"
RUN pip3 install coinbase
ENV LOGLEVEL=INFO URL=https://data.ripple.com
ENV LOGLEVEL=INFO FIAT=EUR
RUN pip3 install requests
COPY ripple-exporter.py /
EXPOSE 9308
ENTRYPOINT ["python3", "/coinbase-exporter.py"]
ENTRYPOINT ["python3", "/ripple-exporter.py"]
......@@ -6,15 +6,12 @@
```
docker run --rm -it -p 9308:9308 \
-e LOGLEVEL=DEBUG \
-e API_KEY="your_api_key" \
-e API_SECRET="your_api_secret" \
-e FIAT="USD" \
-e URL="https://data.ripple.com"
--name ripple-exporter \
hub.ix.ai/docker/ripple-exporter:latest
```
## Supported variables
* `API_KEY` (no default) - set this to your Coinbase API key
* `API_SECRET` (no default) - set this to your Coinbase API secret
* `FIAT` (default: `EUR`) - the fiat currency for which to calculate the total transaction amount
* `ADDRESSES` (no default) - comma separated list of the addresses monitor the balances
* `URL` (default: `https://data.ripple.com`) - the Ripple URL
* `LOGLEVEL` (defaults to `INFO`)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment