forked from cerc-io/stack-orchestrator
cf039d9562
* Add a fixturenet-payments stack * Export the WebSocket port in fixturenet-eth-geth service * Add container to run a go-nitro node * Add container to deploy Nitro contracts * Read contract addresses from a volume when running the Nitro node * Add a service for Nitro reverse payment proxy * Expose payment proxy endpoint to be accessible from host * Map nitro node messaging and payment proxy ports to host * Use container to deploy Nitro contracts in mobymask-v3 stack * Use a common contract deployment script from mobymask-v3 stack * Add MobyMask contract deployment and watcher services * Fixes for contract deployment and watcher scripts * Add a container and service for mobymask-snap * Add MobyMask app service * Add container and service for a ponder app * Fix ponder setup and update instructions * Handle review comments * Use enablepaidrpcmethods flag in reverse payment proxy server * Update go-nitro branch * Fixes for mobymask-v3 stack --------- Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
28 lines
879 B
YAML
28 lines
879 B
YAML
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:
|
|
PROXY_ADDRESS: 0.0.0.0:8081
|
|
PROXY_NITRO_ENDPOINT: ${PROXY_NITRO_ENDPOINT:-go-nitro:4005/api/v1}
|
|
PROXY_DESTINATION_URL: ${PROXY_DESTINATION_URL:-http://ipld-eth-server:8081}
|
|
PROXY_COST_PER_BYTE: ${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"
|