Skip to content

Commit c2d7825

Browse files
authored
Merge pull request #369 from Paraphraser/20210614-openhab-old-menu
openHAB - consistency fixes - old-menu branch - 2 of 3
2 parents f57289d + d0b739e commit c2d7825

File tree

2 files changed

+9
-14
lines changed

2 files changed

+9
-14
lines changed

.templates/openhab/service.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
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"

docs/Containers/openHAB.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
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).

0 commit comments

Comments
 (0)