From 9782fa28159373eaec3e022828e581aa71ff7fe3 Mon Sep 17 00:00:00 2001
From: Christian Elberfeld <elberfeld@web.de>
Date: Fri, 30 Dec 2022 02:12:00 +0100
Subject: [PATCH] upgrade influxdb, fix openhab connection

---
 functions                                                  | 2 +-
 intern/docker_mqtt/templates/docker-compose.yml            | 2 +-
 intern/docker_openhab/templates/conf/services/influxdb.cfg | 2 +-
 intern/docker_openhab/templates/docker-compose.yml         | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/functions b/functions
index 900377e4..e8a04941 160000
--- a/functions
+++ b/functions
@@ -1 +1 @@
-Subproject commit 900377e4f72486f6699ecf736f96adfbc04e92da
+Subproject commit e8a049414bca2b14b158444dac1b94c2ca90d9be
diff --git a/intern/docker_mqtt/templates/docker-compose.yml b/intern/docker_mqtt/templates/docker-compose.yml
index 52e5c837..7e64dafa 100644
--- a/intern/docker_mqtt/templates/docker-compose.yml
+++ b/intern/docker_mqtt/templates/docker-compose.yml
@@ -16,7 +16,7 @@ services:
 
   influxdb:
 
-    image: influxdb:2.5.0
+    image: influxdb:2.6.0
     restart: always
     ports:
       - {{ int_ip4 }}:{{ influxdb_port }}:8086
diff --git a/intern/docker_openhab/templates/conf/services/influxdb.cfg b/intern/docker_openhab/templates/conf/services/influxdb.cfg
index 7f02ec2d..52f9b644 100644
--- a/intern/docker_openhab/templates/conf/services/influxdb.cfg
+++ b/intern/docker_openhab/templates/conf/services/influxdb.cfg
@@ -1,6 +1,6 @@
 
 version=V2
-url=http://{{ int_ip4 }}:{{ influxdb_port }}
+url=http://influxdb:8086
 user=openhab
 token={{ influxdb_token }}
 db=openhab
diff --git a/intern/docker_openhab/templates/docker-compose.yml b/intern/docker_openhab/templates/docker-compose.yml
index 248b6fa4..375ab9aa 100644
--- a/intern/docker_openhab/templates/docker-compose.yml
+++ b/intern/docker_openhab/templates/docker-compose.yml
@@ -33,7 +33,7 @@ services:
   
   influxdb:
 
-    image: influxdb:2.3.0
+    image: influxdb:2.6.0
     restart: always
     ports:
       - {{ int_ip4 }}:{{ influxdb_port }}:8086
-- 
GitLab