Skip to content
Snippets Groups Projects
Commit 0647c1f5 authored by KERDREUX Jerome's avatar KERDREUX Jerome
Browse files

New run

parent 902587b1
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
echo "Starting z2m xAAL Gateway"
# use docker to find out the MQTT broker IP. Note that due to docker volume mounted,
# the docker socket is available in the container but only for root user (wrong group)
# so we need to use sudo.
MQTT=$(sudo docker inspect mqtt | jq -r '.[] | .NetworkSettings.Networks[] | .IPAddress')
echo "Found MQTT broker at: $MQTT"
# Run the xAAL gateway
./z2m/z2m -broker $MQTT
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment