Added env vars

This commit is contained in:
Rob Lee 2020-04-06 23:03:55 +01:00
parent afd01ca75f
commit 9492a058e8

View File

@ -10,7 +10,7 @@ export ROUTER_USER=admin
export ROUTER_PASS=admin
export PROM_PORT=8080
docker run -d -it -p $PROM_PORT:$PROM_PORT --name=hle huawei_lte_exporter
docker run -d -it -p $PROM_PORT:$PROM_PORT -e ROUTER_ADDRESS=$ROUTER_ADDRESS -e ROUTER_USER=$ROUTER_USER -e ROUTER_PASS=$ROUTER_PASS -e PROM_PORT=$PROM_PORT --name=hle huawei_lte_exporter
sleep 5
curl http://localhost:$PROM_PORT