From 942ae725db83bf357c9c936146162f4606c0a88b Mon Sep 17 00:00:00 2001 From: Bernd Reuther Date: Thu, 21 Sep 2023 11:56:40 +0200 Subject: [PATCH] =?UTF-8?q?openhab/docker-compose.yml=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openhab/docker-compose.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 openhab/docker-compose.yml diff --git a/openhab/docker-compose.yml b/openhab/docker-compose.yml new file mode 100644 index 0000000..9174079 --- /dev/null +++ b/openhab/docker-compose.yml @@ -0,0 +1,35 @@ +version: '2.2' + +services: + openhab: + image: openhab/openhab + container_name: openhab + restart: always + network_mode: host + volumes: + - /etc/localtime:/etc/localtime:ro + - /etc/timezone:/etc/timezone:ro + - addons:/openhab/addons + - conf:/openhab/conf + - data:/openhab/userdata + environment: + CRYPTO_POLICY: "unlimited" + EXTRA_JAVA_OPTS: "-Duser.timezone=Europe/Berlin" + OPENHAB_HTTP_PORT: "8080" + OPENHAB_HTTPS_PORT: "8443" + + openhab-log: + image: welteki/frontail-openhab:latest + container_name: openhab-log + volumes: + - /etc/localtime:/etc/localtime:ro + - /etc/timezone:/etc/timezone:ro + - data:/openhab/userdata:ro + +volumes: + addons: + driver: local + conf: + driver: local + data: + driver: local