From 7efc17a2ba11681985a0c8901e39dd50daae3bfe Mon Sep 17 00:00:00 2001 From: Blaise Thompson Date: Mon, 30 Nov 2020 13:19:59 -0600 Subject: influx password --- write-influx/write_influx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'write-influx') 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") -- cgit v1.2.3