add port and webport to start script

This commit is contained in:
Wolfgang Hottgenroth 2019-08-09 18:36:56 +02:00
parent 2deff3b66e
commit 3305d32bdd
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F
3 changed files with 4 additions and 2 deletions

View File

@ -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"

View File

@ -1 +1 @@
0.1
0.2

View File

@ -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