Category : mqtt-vernemq

I’ve been trying to create a docker compose file to run services on separate nodes inside swarm. The idea of VerneMQ is to have one master node and N (in my case 2) replica’s inside a cluster. This is currently my docker-compose.yml version: "3.7" services: vmq0: image: erlio/docker-vernemq environment: DOCKER_VERNEMQ_SWARM: 1 DOCKER_VERNEMQ_ACCEPT_EULA: "yes" DOCKER_VERNEMQ_PLUGINS.vmq_passwd: ‘off’ ..

Read more

I was hoping this would be an easy one by just using the below snippet on the second instance’s docker-compose.yml file – DOCKER_VERNEMQ_DISCOVERY_NODE=<ip address of the first instance> but that doesn’t seem to work. Log of the second instance confirms it’s attempting to cluster: 13:56:09.795 [info] Sent join request to: ‘[email protected]<ip address of the first ..

Read more

Introduction Hi there, it’s almost New Year and happily wishing you all the best, before going deeper into my problem! Background I setup and configured VerneMQ Broker. Broker is in docker container and I start it using docker-compose.yml. This is how my docker-compose file looks: version: ‘3.3’ services: db: image: erlio/docker-vernemq container_name: vernemq1 network_mode: docker_mysql_default ..

Read more