From 4624d9269f987ad15bb213ba677d7f866b6eb490 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Sun, 10 Nov 2019 21:04:56 +0200 Subject: [PATCH] Removed mosquitto from snips Using standalone mosquitto instead Signed-off-by: Marko Korhonen --- homeautomation/docker-compose.yml | 6 +++--- homeautomation/snips/start-snips.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/homeautomation/docker-compose.yml b/homeautomation/docker-compose.yml index ef93b95..8cfc71d 100644 --- a/homeautomation/docker-compose.yml +++ b/homeautomation/docker-compose.yml @@ -66,10 +66,10 @@ services: container_name: snips image: reekymarko/snips restart: always - ports: - - '7647:1883' + environment: + ENABLE_MQTT: 'no' + ENABLE_HOTWORD_SERVICE: 'no' volumes: - /homeautomation-config/snips/log/:/var/log - /homeautomation-config/snips/snips.toml:/etc/snips.toml - - /homeautomation-config/snips/mosquitto.conf:/etc/mosquitto/mosquitto.conf - /homeautomation-config/snips/assistant:/usr/share/snips diff --git a/homeautomation/snips/start-snips.sh b/homeautomation/snips/start-snips.sh index 462c541..3252420 100644 --- a/homeautomation/snips/start-snips.sh +++ b/homeautomation/snips/start-snips.sh @@ -42,7 +42,7 @@ cd / #start own mqtt service. if [ $ENABLE_MQTT == yes ]; then - mosquitto -d + mosquitto -c /etc/mosquitto/mosquitto.conf -d fi #start Snips analytics service