Remove reverse payment proxy from payments stack (#584)
* Remove reverse payment proxy service from payment stack * Remove run-reverse-payment-proxy.sh * Remove reverse payment proxy port from readme --------- Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
This commit is contained in:
parent
479a7772f3
commit
7ce40331d8
@ -1,27 +0,0 @@
|
|||||||
version: '3.7'
|
|
||||||
|
|
||||||
services:
|
|
||||||
nitro-reverse-payment-proxy:
|
|
||||||
image: cerc/go-nitro:local
|
|
||||||
hostname: nitro-reverse-payment-proxy
|
|
||||||
restart: on-failure
|
|
||||||
depends_on:
|
|
||||||
# Wait for the go-nitro node to start
|
|
||||||
go-nitro:
|
|
||||||
condition: service_healthy
|
|
||||||
environment:
|
|
||||||
CERC_PROXY_ADDRESS: 0.0.0.0:8081
|
|
||||||
CERC_PROXY_NITRO_ENDPOINT: ${CERC_PROXY_NITRO_ENDPOINT:-go-nitro:4005/api/v1}
|
|
||||||
CERC_PROXY_DESTINATION_URL: ${CERC_PROXY_DESTINATION_URL:-http://ipld-eth-server:8081}
|
|
||||||
CERC_PROXY_COST_PER_BYTE: ${CERC_PROXY_COST_PER_BYTE:-1}
|
|
||||||
entrypoint: ["bash", "-c", "/app/run-reverse-payment-proxy.sh"]
|
|
||||||
volumes:
|
|
||||||
- ../config/go-nitro/run-reverse-payment-proxy.sh:/app/run-reverse-payment-proxy.sh
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "nc", "-vz", "localhost", "8081"]
|
|
||||||
interval: 10s
|
|
||||||
timeout: 5s
|
|
||||||
retries: 10
|
|
||||||
start_period: 10s
|
|
||||||
ports:
|
|
||||||
- "8081:8081"
|
|
@ -1,14 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
if [ -n "$CERC_SCRIPT_DEBUG" ]; then
|
|
||||||
set -x
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Running Nitro reverse payment proxy"
|
|
||||||
echo "Using CERC_PROXY_ADDRESS ${CERC_PROXY_ADDRESS}"
|
|
||||||
echo "Using CERC_PROXY_NITRO_ENDPOINT ${CERC_PROXY_NITRO_ENDPOINT}"
|
|
||||||
echo "Using CERC_PROXY_DESTINATION_URL ${CERC_PROXY_DESTINATION_URL}"
|
|
||||||
echo "Using CERC_PROXY_COST_PER_BYTE ${CERC_PROXY_COST_PER_BYTE}"
|
|
||||||
|
|
||||||
./proxy -proxyaddress ${CERC_PROXY_ADDRESS} -nitroendpoint=${CERC_PROXY_NITRO_ENDPOINT} -destinationurl=${CERC_PROXY_DESTINATION_URL} -costperbyte ${CERC_PROXY_COST_PER_BYTE} -enablepaidrpcmethods
|
|
@ -40,7 +40,6 @@ mobymask-app-v3
|
|||||||
go-nitro
|
go-nitro
|
||||||
nitro-rpc-client
|
nitro-rpc-client
|
||||||
nitro-contracts
|
nitro-contracts
|
||||||
nitro-reverse-payment-proxy
|
|
||||||
mobymask-snap
|
mobymask-snap
|
||||||
ponder
|
ponder
|
||||||
ipld-eth-server-payments
|
ipld-eth-server-payments
|
||||||
|
@ -26,7 +26,6 @@ laconic-so --stack fixturenet-payments deploy --cluster payments up
|
|||||||
# Exposed on host ports:
|
# Exposed on host ports:
|
||||||
# 4005: go-nitro node's RPC endpoint
|
# 4005: go-nitro node's RPC endpoint
|
||||||
# 5005: go-nitro node's p2p endpoint
|
# 5005: go-nitro node's p2p endpoint
|
||||||
# 8081: reverse payment proxy's RPC endpoint
|
|
||||||
# 15432: MobyMask v3 watcher's db endpoint
|
# 15432: MobyMask v3 watcher's db endpoint
|
||||||
# 3001: MobyMask v3 watcher endpoint
|
# 3001: MobyMask v3 watcher endpoint
|
||||||
# 9090: MobyMask v3 watcher relay node endpoint
|
# 9090: MobyMask v3 watcher relay node endpoint
|
||||||
|
Loading…
Reference in New Issue
Block a user