docker init finished

This commit is contained in:
theBigBlase 2023-12-20 11:37:37 -05:00
parent e880a09ba8
commit 0ee3d15754
2 changed files with 2 additions and 8 deletions

View file

@ -12,8 +12,7 @@ services:
ipv4_address: 172.69.1.2 ipv4_address: 172.69.1.2
openhab: openhab:
build: image: "openhab/openhab:4.0.4"
dockerfile: openhab/Dockerfile
restart: always restart: always
environment: environment:
@ -22,6 +21,7 @@ services:
OPENHAB_HTTP_PORT: "8080" OPENHAB_HTTP_PORT: "8080"
OPENHAB_HTTPS_PORT: "8043" OPENHAB_HTTPS_PORT: "8043"
USER_ID: ${ID} USER_ID: ${ID}
GROUP_ID: ${GID}
network_mode: host network_mode: host
volumes: volumes:

View file

@ -1,6 +0,0 @@
FROM openhab/openhab:4.0.4
ARG ID=1000
RUN echo $ID
RUN chown $ID -R /openhab/conf