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

parent 095bab7e
......@@ -12,7 +12,7 @@ pylint:
image: python:latest
stage: lint
script:
- pip install prometheus_client pylint coinbase
- pip install prometheus_client pylint
- 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 FIAT=EUR
ENV LOGLEVEL=INFO URL=https://data.ripple.com
COPY 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