Container hinzugefügt

This commit is contained in:
borgal
2021-08-29 18:03:53 +00:00
parent b622550c19
commit 9582d0f5eb
9 changed files with 164 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
version: '2.2'
services:
openhab:
image: "openhab/openhab:3.0.1"
container_name: openhab
restart: always
network_mode: host
volumes:
- "/etc/localtime:/etc/localtime:ro"
- "/etc/timezone:/etc/timezone:ro"
- "./openhab_addons:/openhab/addons"
- "./openhab_conf:/openhab/conf"
- "./openhab_userdata:/openhab/userdata"
environment:
OPENHAB_HTTP_PORT: "8081"
OPENHAB_HTTPS_PORT: "8444"
EXTRA_JAVA_OPTS: "-Duser.timezone=Europe/Berlin"
volumes:
openhab_addons:
driver: local
openhab_conf:
driver: local
openhab_userdata:
driver: local