Skip to content
Snippets Groups Projects
user avatar
Levente Pap authored
* Transition to Analysis Dashboard for visualization

 * Add FPC heartbeat changes to analysis plugin
 * Introduce Dashboard for analysis related visualization
 * Refactor Analysis Dashboard backend
 * Prepare base of frontend
 * Add skeleton of AutopeeringStore in frontend

* Update analysis dashboard frontend dependencies

* Remove old analysis webinterface

* Remove unnecessary components from analysis dashboard

* Remove analysis webinterface from pluginmgr

* Analysis Dashboard Frontend updates for autopeering

* Use base58 encoding for autopeering node ID visualization

* Add Ping WS message to analysis dashboard

* Frontend visuals update

* AutopeeringStore updates
 * Graph mouse hover highlighting
 * Fill graph with data upon rendering
 * Dynamic node spacing in graph based on number of nodes
 * Added code comments for readability

* packr config updates

* Websocket connection lost warning in frontend

* Update title of index.html

* packr update for analysis dashboard

* Update frontend README

* Update default config: webinterface -> dashboard

* Fix linter warnings

* Delete package-lock.json

* Frontend updates
 * Size of vertices enlarges during selection
 * Decrease visibility of not highlighted links
 * Fixed layout for react components with auto overflow (no jumping)

* Disable Analysis-Dashboard plugin by default

* Adjust docker container configs for analysis dashboard

Co-authored-by: default avatarAngelo Capossele <angelocapossele@gmail.com>
eaa345e4
History

Docker entry node

This folder contains the scripts for running a GoShimmer entry node with Docker.

It builds the Docker image directly from the specified Git tag (such as v0.1.3, master, af0ae41d5bfd607123e6cbae271da839a050b220, ...) and does not depend on the locally checked out version. The GoShimmer DB is persisted in a named Docker volume.

The entry node exposes the following ports on the host:

  • 14626/udp (Autopeering)
  • 188/tcp (Analysis Server)
  • 80/tcp (Analysis Dashboard)

How to run

Create the Docker volume

Before starting an entry node for the specified git tag the first time, a Docker volume needs to be created. This is only needed once and can be done via the following command:

TAG=tag ./create-volume.sh

The environment variable TAG contains the Git tag of the desired GoShimmer version.

Run the GoShimmer entry node

To start the actual entry node, run the following:

TAG=tag SEED=seed docker-compose up -d --build

The optional environment variable SEED contains the autopeering seed of the entry node in Base64 encoding. If SEED is not set, the seed will be taken from the DB (if present) in the volume. As such, SEED is only required once when setting or changing the seed of the entry node.

Alternatively to providing the variables in the command, create the file .env in the base folder with the following content:

# Git tag of the entry node version
TAG=tag

# Autopeering seed used for the entry node
SEED=seed