From c3db0e9734b3ba3c2039168423f027684cd8fc48 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Thu, 20 Jul 2023 05:55:32 -0600 Subject: [PATCH] Initial commit --- app/data/stacks/mainnet-eth/README.md | 47 +++++++++++++++++++++++++++ app/data/stacks/mainnet-eth/stack.yml | 17 ++++++++++ 2 files changed, 64 insertions(+) create mode 100644 app/data/stacks/mainnet-eth/README.md create mode 100644 app/data/stacks/mainnet-eth/stack.yml diff --git a/app/data/stacks/mainnet-eth/README.md b/app/data/stacks/mainnet-eth/README.md new file mode 100644 index 00000000..457860b9 --- /dev/null +++ b/app/data/stacks/mainnet-eth/README.md @@ -0,0 +1,47 @@ +# mainnet-eth + +Mainnet Ethereum stack (experimental) + +## Clone required repositories + +``` +$ laconic-so --stack mainnet-eth setup-repositories +``` + +## Build the fixturenet-eth containers + +``` +$ laconic-so --stack mainnet-eth build-containers +``` + +This should create several container images in the local image registry: + +* cerc/go-ethereum +* cerc/lighthouse +* cerc/fixturenet-eth-geth +* cerc/fixturenet-eth-lighthouse + +## Create a deployment + +``` +$ laconic-so --stack mainnet-eth deploy create +``` + + +## Clean up + +Stop all services running in the background: + +```bash +$ laconic-so deployment --dir down +``` + +Clear volumes created by this stack: + +```bash +# List all relevant volumes +$ docker volume ls -q --filter "name=.*fixturenet_eth_bootnode_geth_data|.*fixturenet_eth_geth_1_data|.*fixturenet_eth_geth_2_data|.*fixturenet_eth_lighthouse_1_data|.*fixturenet_eth_lighthouse_2_data" + +# Remove all the listed volumes +$ docker volume rm $(docker volume ls -q --filter "name=.*fixturenet_eth_bootnode_geth_data|.*fixturenet_eth_geth_1_data|.*fixturenet_eth_geth_2_data|.*fixturenet_eth_lighthouse_1_data|.*fixturenet_eth_lighthouse_2_data") +``` diff --git a/app/data/stacks/mainnet-eth/stack.yml b/app/data/stacks/mainnet-eth/stack.yml new file mode 100644 index 00000000..ae06e2d2 --- /dev/null +++ b/app/data/stacks/mainnet-eth/stack.yml @@ -0,0 +1,17 @@ +version: "1.1" +name: fixturenet-eth +decription: "Ethereum Fixturenet" +repos: + - github.com/cerc-io/go-ethereum + - github.com/cerc-io/lighthouse + - github.com/dboreham/foundry +containers: + - cerc/go-ethereum + - cerc/lighthouse + - cerc/lighthouse-cli + - cerc/fixturenet-eth-geth + - cerc/fixturenet-eth-lighthouse + - cerc/foundry +pods: + - fixturenet-eth + - foundry