Sign inSign up

ixidion/iota-iri

By ixidion

•Updated over 8 years ago

iotairi for testing with JMX

Image
0

1.1K

ixidion/iota-iri repository overview

⁠IOTA IRI node

This is IRI (IOTA reference implementation)⁠ packed as small docker image.

⁠Features

⁠Usage

First you need to find some neighbors for your node. You can do this by joining the #nodesharing⁠-Slack channel. You can join slack on slack.iota.org⁠.

Afterwards you can start the node with:

$ docker run --net=host -d --name iota-node -v iota_data:/opt/iri/data -e "NEIGHBORS=udp://neighbor1:14600 tcp://neighbor1:15600 udp://neighbor3:14600" rootlogin/iota-iri

To rescan the database or revalidate, you can do this:

$ docker run --net=host --rm --name iota-node -v iota_data:/opt/iri/data -e "NEIGHBORS=udp://neighbor1:14600 tcp://neighbor1:15600 udp://neighbor3:14600" rootlogin/iota-iri --rescan
$ docker run --net=host --rm --name iota-node -v iota_data:/opt/iri/data -e "NEIGHBORS=udp://neighbor1:14600 tcp://neighbor1:15600 udp://neighbor3:14600" rootlogin/iota-iri --revalidate
⁠Environment variables

You can configure different things with environment variables:

NameDescription
NEIGHBORSList of your neighbors (space delimited).
REMOTE_API_LIMITList of things that are forbidden via api (Default: attachToTangle, addNeighbors, removeNeighbors).
API_PORTPort for API listener (Default: 14265).
UDP_PORTPort for UDP listener (Default: 14600).
TCP_PORTPort for TCP listener (Default: 15600).

⁠Run with docker-compose

You can also run IRI with docker-compose. See this example:

version: '2'

services:
  iota-node:
    container_name: iota-node
    restart: always
    image: rootlogin/iota-iri:latest
    mem_limit: 8G
    network_mode: host
    environment:
      - TZ=Europe/Zurich
      - NEIGHBORS=udp://neighbor1:14600 tcp://neighbor1:15600 udp://neighbor3:14600
    volumes:
      - /opt/iri-data:/opt/iri/data

Tag summary

Content type

Image

Digest

Size

101.4 MB

Last updated

over 8 years ago

docker pull ixidion/iota-iri