Add a fixturenet-payments stack

This commit is contained in:
Prathamesh Musale 2023-09-22 14:29:31 +05:30
parent e3dc75118b
commit 417436f33f
2 changed files with 64 additions and 0 deletions

View 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]")
```

View 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