rootlogin/iota-iri

By rootlogin

Updated about 8 years ago

IOTA reference implementation node

Image
2

1.0K

rootlogin/iota-iri repository overview

IOTA IRI node

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

It's used by my IOTA node pool on iota.rootlogin.ch.

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
Pre-sync database

If you want to sync your node with the latest tangle database from iota.partners, set the environment variable PRESYNC to 1. This helps to get your node faster fully synced.

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).
PRESYNCIf you want presync your database with iota.partners set 1 (Default: 0).
JAVA_OPTIONSDefault: "-XX:+DisableAttachMechanism -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap"

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

193.3 MB

Last updated

about 8 years ago

docker pull rootlogin/iota-iri:1.4.2.4