readme docker
This commit is contained in:
parent
0cf0b0409a
commit
22a96b528f
1 changed files with 8 additions and 2 deletions
10
README.md
10
README.md
|
@ -4,13 +4,13 @@ This exporter exports some variables from Philips Hue Bridge
|
||||||
(https://www.philips-hue.com)
|
(https://www.philips-hue.com)
|
||||||
to prometheus.
|
to prometheus.
|
||||||
|
|
||||||
## Building
|
## Build
|
||||||
|
|
||||||
go get github.com/aexel90/hue_exporter/
|
go get github.com/aexel90/hue_exporter/
|
||||||
cd $GOPATH/src/github.com/aexel90/hue_exporter
|
cd $GOPATH/src/github.com/aexel90/hue_exporter
|
||||||
go install
|
go install
|
||||||
|
|
||||||
## Running
|
## Execute
|
||||||
|
|
||||||
How to create a user for your bridge is described here: https://developers.meethue.com/develop/get-started-2/
|
How to create a user for your bridge is described here: https://developers.meethue.com/develop/get-started-2/
|
||||||
|
|
||||||
|
@ -34,6 +34,12 @@ Usage:
|
||||||
-username string
|
-username string
|
||||||
The username token having bridge access
|
The username token having bridge access
|
||||||
|
|
||||||
|
## Docker
|
||||||
|
|
||||||
|
cp .env.template .env
|
||||||
|
vi .env
|
||||||
|
docker-compose up -d --build
|
||||||
|
|
||||||
## Example execution
|
## Example execution
|
||||||
|
|
||||||
### Running within prometheus:
|
### Running within prometheus:
|
||||||
|
|
Loading…
Reference in a new issue