Update README.md

Name & run docker in daemon mode.
This commit is contained in:
Leigh Phillips 2021-01-09 13:22:55 -08:00 committed by GitHub
parent 9e09b64881
commit 27ce46cb3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,7 +73,7 @@ The Starlink router also exposes a gRPC service, on ports 9000 (HTTP/2.0) and 90
`dishStatusInflux_cron.py` is a docker-cron friendly script which will post status to an InfluxDB as specified by evironment variables passed to the container. Initialization of the container can be performed with the following command: `dishStatusInflux_cron.py` is a docker-cron friendly script which will post status to an InfluxDB as specified by evironment variables passed to the container. Initialization of the container can be performed with the following command:
``` ```
docker run -e INFLUXDB_HOST={InfluxDB Hostname} docker run -d --name='starlink-grpc-tools' -e INFLUXDB_HOST={InfluxDB Hostname}
-e INFLUXDB_PORT={Port, 8086 usually} -e INFLUXDB_PORT={Port, 8086 usually}
-e INFLUXDB_USER={Optional, InfluxDB Username} -e INFLUXDB_USER={Optional, InfluxDB Username}
-e INFLUXDB_PWD={Optional, InfluxDB Password} -e INFLUXDB_PWD={Optional, InfluxDB Password}