docker init finished
This commit is contained in:
parent
e880a09ba8
commit
0ee3d15754
2 changed files with 2 additions and 8 deletions
|
@ -12,8 +12,7 @@ services:
|
|||
ipv4_address: 172.69.1.2
|
||||
|
||||
openhab:
|
||||
build:
|
||||
dockerfile: openhab/Dockerfile
|
||||
image: "openhab/openhab:4.0.4"
|
||||
restart: always
|
||||
|
||||
environment:
|
||||
|
@ -22,6 +21,7 @@ services:
|
|||
OPENHAB_HTTP_PORT: "8080"
|
||||
OPENHAB_HTTPS_PORT: "8043"
|
||||
USER_ID: ${ID}
|
||||
GROUP_ID: ${GID}
|
||||
network_mode: host
|
||||
|
||||
volumes:
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
FROM openhab/openhab:4.0.4
|
||||
|
||||
ARG ID=1000
|
||||
|
||||
RUN echo $ID
|
||||
RUN chown $ID -R /openhab/conf
|
Loading…
Reference in a new issue