Add a fixturenet-payments stack #540
35
app/data/compose/docker-compose-go-nitro.yml
Normal file
35
app/data/compose/docker-compose-go-nitro.yml
Normal 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:
|
6
app/data/container-build/cerc-go-nitro/build.sh
Executable file
6
app/data/container-build/cerc-go-nitro/build.sh
Executable 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
|
@ -51,3 +51,4 @@ cerc/graph-node
|
||||
cerc/sushiswap-subgraphs
|
||||
cerc/webapp-base
|
||||
cerc/watcher-mobymask-v3
|
||||
cerc/go-nitro
|
||||
|
@ -37,3 +37,4 @@ sushiswap-subgraph-v3
|
||||
fixturenet-sushiswap-subgraph-v3
|
||||
watcher-mobymask-v3
|
||||
mobymask-app-v3
|
||||
go-nitro
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user