fix start script

This commit is contained in:
Wolfgang Hottgenroth 2019-06-27 23:23:37 +02:00
parent 34a6b23d46
commit 2deff3b66e
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F
3 changed files with 19 additions and 2 deletions

View File

@ -36,7 +36,6 @@ USER ${USER}
VOLUME ${DATA_DIR}
EXPOSE 51826
EXPOSE 51888
CMD [ "/usr/local/bin/start.sh" ]

18
readme.md Normal file
View File

@ -0,0 +1,18 @@
Startscript:
#!/bin/bash
# docker volume create hkd-data
# docker pull registry.gitlab.com/wolutator/hkd:latest
docker run \
--rm \
-d \
--name homekit2mqtt \
--net host \
-e PIN="000-00-000"
-e BROKER="mqtt://broker.local"
-v hkd-data:/opt/app
registry.gitlab.com/wolutator/hkd:latest

View File

@ -1,4 +1,4 @@
#!/bin/bash
/usr/local/bin/homekit2mqtt -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 -u $BROKER --insecure -c $PIN