From 417436f33fc7373ffd35c1c1acfc8defd1bce671 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Fri, 22 Sep 2023 14:29:31 +0530 Subject: [PATCH] Add a fixturenet-payments stack --- app/data/stacks/fixturenet-payments/README.md | 41 +++++++++++++++++++ app/data/stacks/fixturenet-payments/stack.yml | 23 +++++++++++ 2 files changed, 64 insertions(+) create mode 100644 app/data/stacks/fixturenet-payments/README.md create mode 100644 app/data/stacks/fixturenet-payments/stack.yml diff --git a/app/data/stacks/fixturenet-payments/README.md b/app/data/stacks/fixturenet-payments/README.md new file mode 100644 index 00000000..26e0f479 --- /dev/null +++ b/app/data/stacks/fixturenet-payments/README.md @@ -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]") +``` diff --git a/app/data/stacks/fixturenet-payments/stack.yml b/app/data/stacks/fixturenet-payments/stack.yml new file mode 100644 index 00000000..2995dfdc --- /dev/null +++ b/app/data/stacks/fixturenet-payments/stack.yml @@ -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