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
6 changed files with 47 additions and 0 deletions
Showing only changes of commit 0e1861563d - Show all commits

View File

@ -0,0 +1,35 @@
version: '3.7'
services:
go-nitro:
restart: always
hostname: go-nitro
environment:
CHAIN_URL: ${CHAIN_URL:-ws://fixturenet-eth-geth-1:8546}
NA_ADDRESS: ${NA_ADDRESS}
VPA_ADDRESS: ${VPA_ADDRESS}
CA_ADDRESS: ${CA_ADDRESS}
MSG_PORT: ${MSG_PORT:-3005}
RPC_PORT: ${RPC_PORT:-4005}
WS_MSG_PORT: ${WS_MSG_PORT:-5005}
PK: ${PK}
CHAIN_PK: ${CHAIN_PK}
USE_DURABLE_STORE: ${USE_DURABLE_STORE:-true}
DURABLE_STORE_FOLDER: ${DURABLE_STORE_FOLDER:-/app/data/nitro-store}
BOOT_PEERS: []
image: cerc/go-nitro:local
volumes:
go_nitro_data: /app/data
healthcheck:
test: ["CMD", "nc", "-v", "localhost", "${MSG_PORT:-3005}"]
interval: 5s
timeout: 5s
retries: 5
start_period: 5s
ports:
- "3005"
- "4005"
- "5005"
volumes:
go_nitro_data:

View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
# Build cerc/go-nitro
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh
docker build -t cerc/go-nitro:local -f ${CERC_REPO_BASE_DIR}/go-nitro/docker/local/Dockerfile ${build_command_args} ${CERC_REPO_BASE_DIR}/go-nitro

View File

@ -51,3 +51,4 @@ cerc/graph-node
cerc/sushiswap-subgraphs
cerc/webapp-base
cerc/watcher-mobymask-v3
cerc/go-nitro

View File

@ -37,3 +37,4 @@ sushiswap-subgraph-v3
fixturenet-sushiswap-subgraph-v3
watcher-mobymask-v3
mobymask-app-v3
go-nitro

View File

@ -43,3 +43,4 @@ github.com/cerc-io/sushiswap-v3-core
github.com/cerc-io/sushiswap-v3-periphery
github.com/graphprotocol/graph-node
github.com/sushiswap/subgraphs
github.com/cerc-io/go-nitro

View File

@ -7,6 +7,7 @@ repos:
- github.com/cerc-io/lighthouse
- github.com/cerc-io/ipld-eth-db
- github.com/cerc-io/ipld-eth-server
- github.com/cerc-io/go-nitro@ts-interop
containers:
# fixturenet images
- cerc/go-ethereum
@ -17,7 +18,9 @@ containers:
- cerc/fixturenet-eth-lighthouse
- cerc/ipld-eth-db
- cerc/ipld-eth-server
- cerc/go-nitro
pods:
- fixturenet-eth
- ipld-eth-server
- ipld-eth-db
- go-nitro