Add a fixturenet-payments stack
This commit is contained in:
parent
e3dc75118b
commit
417436f33f
41
app/data/stacks/fixturenet-payments/README.md
Normal file
41
app/data/stacks/fixturenet-payments/README.md
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
# fixturenet-payments
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
Clone required repositories:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
laconic-so --stack fixturenet-payments setup-repositories --pull
|
||||||
|
```
|
||||||
|
|
||||||
|
Build the container images:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
laconic-so --stack fixturenet-payments build-containers
|
||||||
|
```
|
||||||
|
|
||||||
|
## Deploy
|
||||||
|
|
||||||
|
Deploy the stack:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
laconic-so --stack fixturenet-payments deploy --cluster [CLUSTER_NAME] up
|
||||||
|
```
|
||||||
|
|
||||||
|
## Clean up
|
||||||
|
|
||||||
|
Stop all the services running in background:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
laconic-so --stack fixturenet-payments deploy --cluster [CLUSTER_NAME] down 30
|
||||||
|
```
|
||||||
|
|
||||||
|
Clear volumes created by this stack:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# List all relevant volumes
|
||||||
|
docker volume ls -q --filter "name=[CLUSTER_NAME]"
|
||||||
|
|
||||||
|
# Remove all the listed volumes
|
||||||
|
docker volume rm $(docker volume ls -q --filter "name=[CLUSTER_NAME]")
|
||||||
|
```
|
23
app/data/stacks/fixturenet-payments/stack.yml
Normal file
23
app/data/stacks/fixturenet-payments/stack.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
version: "1.0"
|
||||||
|
name: fixturenet-payments
|
||||||
|
description: "Stack to demonstrate payments between various services"
|
||||||
|
repos:
|
||||||
|
# fixturenet repos
|
||||||
|
- github.com/cerc-io/go-ethereum
|
||||||
|
- github.com/cerc-io/lighthouse
|
||||||
|
- github.com/cerc-io/ipld-eth-db
|
||||||
|
- github.com/cerc-io/ipld-eth-server
|
||||||
|
containers:
|
||||||
|
# fixturenet images
|
||||||
|
- cerc/go-ethereum
|
||||||
|
- cerc/lighthouse
|
||||||
|
- cerc/lighthouse-cli
|
||||||
|
- cerc/fixturenet-eth-genesis
|
||||||
|
- cerc/fixturenet-eth-geth
|
||||||
|
- cerc/fixturenet-eth-lighthouse
|
||||||
|
- cerc/ipld-eth-db
|
||||||
|
- cerc/ipld-eth-server
|
||||||
|
pods:
|
||||||
|
- fixturenet-eth
|
||||||
|
- ipld-eth-server
|
||||||
|
- ipld-eth-db
|
Loading…
Reference in New Issue
Block a user