Skip to content

orbs-network/v3-node-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

v3-node-setup repo

⚠️ WIP ⚠️

smoke-test

What's this?

This repo is temporarily being used to hold all the Orbs v3 node validator install, manager and deployment files. In the future, they will be split into different repos

Folders

Developing

Running interactively

  1. docker build -t test-ubuntu .
  2.    docker run \
          -v $(pwd)/deployment:/home/ubuntu/deployment \
          -v $(pwd)/logging:/home/ubuntu/logging \
          -v $(pwd)/manager:/home/ubuntu/manager \
          -v $(pwd)/setup:/home/ubuntu/setup \
          -p 80:80 --rm -it --privileged test-ubuntu
    
    (Use volumes to allow us to make changes outside the container)
  3. source ./setup/install.sh

Running non-interactively

  1. docker build -t test-ubuntu .
  2. docker run -p 80:80 -e ETH_ENDPOINT=YOUR-INFURA-ENDPOINT --rm --privileged test-ubuntu /bin/bash -c "source ./setup/install.sh" (this will immediately exit the container after completion)

Install flags for dev

  • --skip-req: Skip minimum machine spec requirement checks
  • --verbose: Display detailed logging output
  • --new-keys: Reprompt for wallet keys

Sanity

From Mac host, run curl http://localhost/service/ethereum-reader/status

Exposed URLs

Management service

Troubleshooting

Healthcheck always shows "starting"

Podman uses systemd timers to run healtchecks periodically, which do not work in our dev Docker-in-Docker setup. As a workaround, you can run the command podman healthcheck run SERVICE to manually run a specific container healthcheck.