# on edge node | |
git clone https://github.com/garystafford/iot-analytics-at-the-edge.git | |
# build directories | |
mkdir -p ~/data/postgres | |
mkdir -p ~/data/grafana | |
mkdir -p ~/data/mosquitto/config | |
# move mosquitto config | |
cd iot-analytics-at-the-edge | |
cp mosquitto.conf ~/data/mosquitto/config/ | |
# deploy stack | |
docker swarm init | |
docker stack deploy -c stack.yml iot | |
# check status of stack | |
docker stack ps iot --no-trunc | |
docker stack services iot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment