diff options
| author | Blaise Thompson <blaise@untzag.com> | 2020-11-30 13:19:59 -0600 | 
|---|---|---|
| committer | Blaise Thompson <blaise@untzag.com> | 2020-11-30 13:19:59 -0600 | 
| commit | 7efc17a2ba11681985a0c8901e39dd50daae3bfe (patch) | |
| tree | 67807b82f647153bb00c0be8ebf06d1ba3475c79 /write-influx | |
| parent | 19441ae99f7967c5efbe2c303cb93c5bebcac7c0 (diff) | |
influx password
Diffstat (limited to 'write-influx')
| -rw-r--r-- | write-influx/write_influx.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/write-influx/write_influx.py b/write-influx/write_influx.py index ccfb15d..b558b84 100644 --- a/write-influx/write_influx.py +++ b/write-influx/write_influx.py @@ -68,8 +68,8 @@ def on_message(client, userdata, msg):  influx_client = InfluxDBClient(host="db",                                 port=8086, -                               username="root", -                               password="root", +                               username="admin", +                               password=os.environ["INFLUXDB_ADMIN_PASSWORD"],                                 database="homie")  influx_client.create_database("homie")  | 
