puppetlabs-toy-chest / lumogon

Get a complete picture of what your applications are made of *without* changing how you currently build and run containers. Just run and report.
Other
198 stars 14 forks source link

Specify port for report #62

Closed markediez closed 6 years ago

markediez commented 6 years ago

After calling docker run --rm -v /var/run/docker.sock:/var/run/docker.sock puppet/lumogon report, I am given http://localhost:3000 as an output.

My current docker containers are currently using this port. I was not able to find a --port option in the README

johnmccabe commented 6 years ago

@markediez you can set a custom endpoint with the LUMOGON_ENDPOINT environment variable.

docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -e LUMOGON_ENDPOINT="http://app.mydomain.com:1234/" puppet/lumogon  report
johnmccabe commented 6 years ago

Setting to closed as no further response received, either LUMOGON_ENDPOINT or --endpoint can be used to control where reports are submitted.