Skip to content

Commit

Permalink
Add inx-mqtt to docker and ansible setup
Browse files Browse the repository at this point in the history
  • Loading branch information
muXxer committed Nov 14, 2023
1 parent 2216b18 commit e762def
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 13 additions & 0 deletions tools/docker-network/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tools/docker-network/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e762def

Please sign in to comment.