From d4f2bd508a5b6cf68901dfee3ac96fc457def569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Reinke?= Date: Thu, 9 Jul 2020 11:26:45 +0200 Subject: [PATCH] Moved zigbee2mqtt from gcgarner --- .templates/zigbee2mqttassistant/service.yml | 11 +++++++++++ .../zigbee2mqttassistant/zigbee2mqttassistant.env | 4 ++++ menu.sh | 4 +++- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100755 .templates/zigbee2mqttassistant/service.yml create mode 100755 .templates/zigbee2mqttassistant/zigbee2mqttassistant.env diff --git a/.templates/zigbee2mqttassistant/service.yml b/.templates/zigbee2mqttassistant/service.yml new file mode 100755 index 00000000..75c5f595 --- /dev/null +++ b/.templates/zigbee2mqttassistant/service.yml @@ -0,0 +1,11 @@ + zigbee2mqttassistant: + container_name: zigbee2mqttassistant + image: carldebilly/zigbee2mqttassistant + restart: unless-stopped + env_file: + - ./services/zigbee2mqttassistant/zigbee2mqttassistant.env + ports: + - 8880:80 + environment: + - VIRTUAL_HOST=~^zigbee2mqttassistant\..*\.xip\.io + - VIRTUAL_PORT=8880 diff --git a/.templates/zigbee2mqttassistant/zigbee2mqttassistant.env b/.templates/zigbee2mqttassistant/zigbee2mqttassistant.env new file mode 100755 index 00000000..0ce939db --- /dev/null +++ b/.templates/zigbee2mqttassistant/zigbee2mqttassistant.env @@ -0,0 +1,4 @@ +#TZ=Europe/Budapest \ +Z2MA_SETTINGS__MQTTSERVER=mosquitto +#Z2MA_SETTINGS__MQTTUSERNAME= +#Z2MA_SETTINGS__MQTTPASSWORD= diff --git a/menu.sh b/menu.sh index a0a08b60..c8bb9009 100755 --- a/menu.sh +++ b/menu.sh @@ -30,6 +30,7 @@ declare -A cont_array=( [adminer]="Adminer" [openhab]="openHAB" [zigbee2mqtt]="zigbee2mqtt" + [zigbee2mqttassistant]="zigbee2mqtt Assistant" [deconz]="deCONZ" [pihole]="Pi-Hole" [plex]="Plex media server" @@ -62,7 +63,8 @@ declare -a armhf_keys=( "adminer" "openhab" "zigbee2mqtt" - "deconz" + "zigbee2mqttassistant" + "deconz" "pihole" "plex" "tasmoadmin"