File tree Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Original file line number Diff line number Diff line change 11 openhab :
2- image : " openhab/openhab:2.4.0"
32 container_name : openhab
3+ image : " openhab/openhab:latest"
44 restart : unless-stopped
55 network_mode : host
6- # cap_add:
7- # - NET_ADMIN
8- # - NET_RAW
96 volumes :
107 - " /etc/localtime:/etc/localtime:ro"
118 - " /etc/timezone:/etc/timezone:ro"
129 - " ./volumes/openhab/addons:/openhab/addons"
1310 - " ./volumes/openhab/conf:/openhab/conf"
1411 - " ./volumes/openhab/userdata:/openhab/userdata"
1512 environment :
16- OPENHAB_HTTP_PORT : " 8080"
17- OPENHAB_HTTPS_PORT : " 8443"
18- EXTRA_JAVA_OPTS : " -Duser.timezone=Europe/Berlin"
19- # # The command node is very important. It overrides
20- # # the "gosu openhab tini -s ./start.sh" command from Dockerfile and runs as root!
21- # command: "tini -s ./start.sh server"
13+ - OPENHAB_HTTP_PORT=4050
14+ - OPENHAB_HTTPS_PORT=4051
15+ - EXTRA_JAVA_OPTS=-Duser.timezone=Etc/UTC
16+ # logging:
17+ # options:
18+ # max-size: "5m"
19+ # max-file: "3"
Original file line number Diff line number Diff line change 11# Openhab
2- ## References
3- - [ Docker] ( https://hub.docker.com/r/openhab/openhab/ )
4- - [ website] ( https://www.openhab.org/ )
52
6- openHAB has been added without Amazon Dashbutton binding. Port binding is ` 8080 ` for http and ` 8443 ` for https.
3+ See [ documentation on master branch ] ( https://github.com/SensorsIot/IOTstack/blob/master/docs/Containers/openHAB.md ) .
You can’t perform that action at this time.
0 commit comments