Add a fixturenet-payments stack #540

Merged
prathamesh0 merged 20 commits from pm-payments-stack into main 2023-10-03 12:10:35 +00:00
2 changed files with 64 additions and 0 deletions
Showing only changes of commit 417436f33f - Show all commits

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