Skip to content

Latest commit

 

History

History
105 lines (62 loc) · 3.04 KB

README.md

File metadata and controls

105 lines (62 loc) · 3.04 KB

Docker-Cyberd

Dockerized Cyberd Node.

Differences between this and the original version https://github.com/cybercongress/cyberd/

  • Processes managed via supervisor for logging and autorestart
  • Repository is cloned during build process rather than copied into the build process

MicroBadger Version CircleCI (all branches) Docker Pulls

MicroBadger Layers (latest) MicroBadger Image-Size (latest)

Codacy grade


Prerequisites

  • Docker
  • Docker-Compose (optional)

Quick Start

TK

Configuration

Config.toml Parameters

TK

Environment Variables

TK

Bootstrapping

TK

Build

The following command will build the image.

docker build --rm -f Dockerfile -t docker-cyberd:latest .

Running

docker-compose up -d --build

Supervisor

The image uses Supervisor to run both cyberd and cyberdcli simultaneously at container runtime. Supervisor also restarts either process should it fail for some reason.

Cyberd

After starting the container you can check the status here: http://127.0.0.1:26657/status.

or from the terminal

curl -X GET \
  http://127.0.0.1:26657/status? \
  -H 'cache-control: no-cache'

Cyberdcli Rest-Server

Supervisor starts the rest-server with the following command:

cyberdcli rest-server  --trust-node --chain-id=euler-5 --laddr=tcp://0.0.0.0:1317 --indent --home=/root/.cyberdcli

You can verify that the rest-server is running using the following example

curl -X GET \
  http://127.0.0.1:1317/blocks/latest \
  -H 'cache-control: no-cache'

NOTES

Contributing

PRs Welcome

Contributors

Keybase PGP

License

GitHub