diff --git a/deploy/ansible/roles/iota-core-node/templates/docker-compose-iota-core.yml.j2 b/deploy/ansible/roles/iota-core-node/templates/docker-compose-iota-core.yml.j2 index 40beab818..1ad23ed19 100644 --- a/deploy/ansible/roles/iota-core-node/templates/docker-compose-iota-core.yml.j2 +++ b/deploy/ansible/roles/iota-core-node/templates/docker-compose-iota-core.yml.j2 @@ -77,6 +77,18 @@ services: --indexer.db.sqlite.path=database/indexer --restAPI.bindAddress=inx-indexer:9091 + inx-mqtt: + container_name: inx-mqtt + image: iotaledger/inx-mqtt:2.0-alpha + stop_grace_period: 1m + restart: unless-stopped + depends_on: + iota-core: + condition: service_healthy + command: > + --inx.address=iota-core:9029 + --mqtt.websocket.bindAddress=inx-mqtt:1888 + {% if 'node-04' in inventory_hostname %} inx-blockissuer: container_name: inx-blockissuer diff --git a/tools/docker-network/docker-compose.yml b/tools/docker-network/docker-compose.yml index 3cfd3f017..c9a17d95c 100644 --- a/tools/docker-network/docker-compose.yml +++ b/tools/docker-network/docker-compose.yml @@ -194,6 +194,19 @@ services: --inx.address=node-1-validator:9029 --restAPI.bindAddress=inx-indexer:9011 + inx-mqtt: + image: iotaledger/inx-mqtt:2.0-alpha + stop_grace_period: 1m + restart: unless-stopped + depends_on: + node-1-validator: + condition: service_healthy + networks: + - iota-core + command: > + --inx.address=node-1-validator:9029 + --mqtt.websocket.bindAddress=inx-mqtt:1888 + inx-blockissuer: image: iotaledger/inx-blockissuer:1.0-alpha stop_grace_period: 1m diff --git a/tools/docker-network/run.sh b/tools/docker-network/run.sh index a87b02f98..7c96ee50d 100755 --- a/tools/docker-network/run.sh +++ b/tools/docker-network/run.sh @@ -28,7 +28,7 @@ fi echo $DOCKER_BUILD_CONTEXT $DOCKERFILE_PATH docker compose build --build-arg WITH_GO_WORK=${WITH_GO_WORK:-0} --build-arg DOCKER_BUILD_CONTEXT=${DOCKER_BUILD_CONTEXT} --build-arg DOCKERFILE_PATH=${DOCKERFILE_PATH} -docker compose pull inx-indexer inx-blockissuer inx-faucet inx-validator-1 +docker compose pull inx-indexer inx-mqtt inx-blockissuer inx-faucet inx-validator-1 # check exit code of builder if [ $? -ne 0 ]; then