describe docker
This commit is contained in:
parent
2ef5eec095
commit
ed8413eaae
1 changed files with 8 additions and 0 deletions
|
@ -24,3 +24,11 @@ Run the exporter:
|
|||
FLASK_APP=exporter.py python -m flask run -h 127.0.0.1 -p 5000
|
||||
|
||||
Now scrape `/metrics` on port localhost:5000.
|
||||
|
||||
## Docker
|
||||
|
||||
Or use the prebuilt docker image:
|
||||
|
||||
docker run -e FIREFLY_API_HOST="https://your-firefly-installation" -e FIREFLY_PERSONAL_ACCESS_TOKEN="abcd....1234" -p 9449:5000 zknt/firefly-exporter
|
||||
|
||||
and scrape port 9449 on your docker host.
|
||||
|
|
Loading…
Reference in a new issue