Ansible role for Nimbus Eth2 beacon node via Docker
Go to file
Jakub Sokołowski 759e60db22
specify mode for data folder as 0750
Fixes errors about too broad folder permissions:
{
  "lvl": "FAT",
  "ts": "2020-10-15 09:00:33.189+00:00",
  "msg": "Data folder has insecure permissions",
  "tid": 1,
  "file": "keystore_management.nim:59",
  "data_dir": "build/data/shared_medalla_0",
  "insecure_permissions": "{OtherRead, OtherExec}",
  "current_permissions": "0755 (rwxr-xr-x)",
  "required_permissions": "0750 (rwxr-x---)"
}

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-15 11:02:59 +02:00
defaults reduce mem limits 2020-08-19 18:10:39 +02:00
handlers add missing "Save iptables rules" handler 2019-03-23 09:56:46 +01:00
meta add dependency on infra-role-consul-service 2019-03-23 09:57:01 +01:00
tasks specify mode for data folder as 0750 2020-10-15 11:02:59 +02:00
LICENSE Support multiple nodes per host; Extract the Nginx site in a separate repo 2019-03-21 23:08:55 +02:00
README.md use docker-compose command to use --compatibility 2020-03-26 18:55:24 +01:00

README.md

Description

This role provisions a Nimbus installation that can act as an ETH2 network bootstrap node.

Introduction

Each host can run multiple nodes installed as docker containers. TCP and UDP ports starting from 9000 will be exposed (e.g. 9000, 9001 and 9002 if you run 3 nodes).

Installation

Add to your requirements.yml file:

- name: infra-role-beacon-node
  src: git+git@github.com:status-im/infra-role-beacon-node.git
  scm: git

Configuration

The crucial settings are:

beacon_node_network: 'testnet0'
# optional setting for debug mode
beacon_node_log_level: DEBUG

Usage

You can re-create containers on the host using:

cd /docker/beacon-node-testnet0-1
docker-compose --compatibility up -d --force-recreate

Which will use the docker-compose.yml file in that directory.

Requirements

Due to being part of Status infra this role assumes availability of certain things:

  • Docker for running containers
  • The iptables-persistent module