Commit 6986b70f authored by Alex Thomae's avatar Alex Thomae

Merge branch 'add-module' into 'master'

Adds missing pbkdf2 module

See merge request !7
parents c2d50b20 2ba23766
Pipeline #86836991 passed with stages
in 4 minutes and 19 seconds
variables:
DOCKER_DRIVER: overlay2
PORT: 9308
DOCKERHUB_REPO_PREFIX: ixdotai
DOCKERHUB_REPO_NAME: stellar-exporter
......
FROM alpine:latest
LABEL maintainer="docker@ix.ai"
ARG PORT=9308
ARG LOGLEVEL=INFO
WORKDIR /app
COPY src/ /app
......@@ -13,10 +10,8 @@ RUN apk --no-cache upgrade && \
pip3 install --no-cache-dir -r requirements.txt && \
apk del --no-cache --purge gcc musl-dev
ENV LOGLEVEL=${LOGLEVEL} PORT=${PORT}
COPY src/stellar-exporter.py /
EXPOSE ${PORT}
EXPOSE 9308
ENTRYPOINT ["python3", "/app/stellar-exporter.py"]
......@@ -17,11 +17,16 @@ docker run --rm -it -p 9308:9308 \
```
## Supported variables
* `ACCOUNTS` (no default - **mandatory**) - comma separated list of the accounts monitor the balances
* `GELF_HOST` (no default) - if set, the exporter will also log to this [GELF](https://docs.graylog.org/en/3.0/pages/gelf.html) capable host on UDP
* `GELF_PORT` (defaults to `12201`) - the port to use for GELF logging
* `PORT` (defaults to `9308`) - the listen port for the exporter
* `LOGLEVEL` (defaults to `INFO`)
| **Variable** | **Default** | **Mandatory** | **Description** |
|:-------------|:-----------:|:-------------:|:-----------------------------------------------------------------------------------------------------------------------|
| `ACCOUNTS` | - | **YES** | comma separated list of the accounts monitor the balances |
| `LOGLEVEL` | `INFO` | **NO** | [Logging Level](https://docs.python.org/3/library/logging.html#levels) |
| `GELF_HOST` | - | **NO** | if set, the exporter will also log to this [GELF](https://docs.graylog.org/en/3.0/pages/gelf.html) capable host on UDP |
| `GELF_PORT` | `12201` | **NO** | Ignored, if `GELF_HOST` is unset. The UDP port for GELF logging |
| `PORT` | `9308` | **NO** | The port for prometheus metrics |
## Resources:
* GitLab: https://gitlab.com/ix.ai/stellar-exporter
......
......@@ -3,3 +3,4 @@ prometheus_client
stellar-base
mnemonic
toml
pbkdf2
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