From 3305d32bddfd7bd022fa42a74e08f607a198ee79 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Fri, 9 Aug 2019 18:36:56 +0200 Subject: [PATCH] add port and webport to start script --- Dockerfile | 2 ++ VERSION | 2 +- start.sh | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 88c95c2..edd48a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,8 @@ ENV BROKER "mqtt://mosquitto" ENV DATA_DIR "/opt/app" ENV STORAGE_DIR "/opt/app/storage" ENV NAME="MQTT to Homekit Bridge" +ENV PORT 51826 +ENV WEBPORT 51888 ARG USER="homekit" ARG UID="51888" diff --git a/VERSION b/VERSION index 49d5957..3b04cfb 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1 +0.2 diff --git a/start.sh b/start.sh index 770d9fd..9e5d625 100755 --- a/start.sh +++ b/start.sh @@ -1,4 +1,4 @@ #!/bin/bash -/usr/local/bin/homekit2mqtt -x -v debug -m $DATA_DIR/mapping.json -s $STORAGE_DIR -b $NAME -u $BROKER --insecure -c $PIN +/usr/local/bin/homekit2mqtt -x -v debug -m $DATA_DIR/mapping.json -s $STORAGE_DIR -b $NAME -p $PORT -w $WEBPORT -u $BROKER --insecure -c $PIN