From 5f06eeb07c8c0f8c7b7ec8c85c5104e03b58c9cb Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Mon, 4 Oct 2021 21:59:42 -0400 Subject: [PATCH] Migrate to zwavejs2mqtt --- docker-compose.yml | 19 +++++++++++++++++-- zwavejs2mqtt.env.sample | 1 + 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 zwavejs2mqtt.env.sample diff --git a/docker-compose.yml b/docker-compose.yml index ec54edd..a111d07 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -56,8 +56,6 @@ services: volumes: - /etc/localtime:/etc/localtime:ro - /mnt/data/docker/ha/config:/config - devices: - - /dev/zwave:/dev/zwave:rwm gitea: container_name: gitea image: gitea/gitea:1.8.3 @@ -241,3 +239,20 @@ services: ports: - 1883:1883 command: mosquitto -c /mosquitto-no-auth.conf + zwavejs2mqtt: + container_name: zwavejs2mqtt + image: zwavejs/zwavejs2mqtt:latest + restart: always + tty: true + stop_signal: SIGINT + env_file: + - zwavejs2mqtt.env + environment: + - TZ=America/New_York + devices: + - /dev/zwave:/dev/zwave + volumes: + - /mnt/data/docker/zwavejs2mqtt/store:/usr/src/app/store + ports: + - '9056:8091' + - '9057:3000' diff --git a/zwavejs2mqtt.env.sample b/zwavejs2mqtt.env.sample new file mode 100644 index 0000000..888b67d --- /dev/null +++ b/zwavejs2mqtt.env.sample @@ -0,0 +1 @@ +SESSION_SECRET=