Initial commit
This commit is contained in:
parent
54f50aa09e
commit
c3db0e9734
47
app/data/stacks/mainnet-eth/README.md
Normal file
47
app/data/stacks/mainnet-eth/README.md
Normal file
@ -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 <directory> 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")
|
||||||
|
```
|
17
app/data/stacks/mainnet-eth/stack.yml
Normal file
17
app/data/stacks/mainnet-eth/stack.yml
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user