From 6936c07e4f515bcad70da0785036ebfd6bd22b6f Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Mon, 16 Oct 2023 19:17:35 +0530 Subject: [PATCH] Use durable store for in-process Nitro node --- .../compose/docker-compose-ipld-eth-server-payments.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/data/compose/docker-compose-ipld-eth-server-payments.yml b/app/data/compose/docker-compose-ipld-eth-server-payments.yml index 4fe97c6b..d80e88f0 100644 --- a/app/data/compose/docker-compose-ipld-eth-server-payments.yml +++ b/app/data/compose/docker-compose-ipld-eth-server-payments.yml @@ -27,11 +27,12 @@ services: PROM_HTTP_PORT: "8090" LOG_LEVEL: "debug" CERC_REMOTE_DEBUG: ${CERC_REMOTE_DEBUG:-true} + NITRO_RUN_NODE_IN_PROCESS: ${CERC_NITRO_RUN_NODE_IN_PROCESS:-true} NITRO_PK: ${CERC_NITRO_PK:-2d999770f7b5d49b694080f987b82bbc9fc9ac2b4dcc10b0f8aba7d700f69c6d} NITRO_CHAIN_PK: ${CERC_NITRO_CHAIN_PK:-570b909da9669b2f35a0b1ac70b8358516d55ae1b5b3710e95e9a94395090597} NITRO_CHAIN_URL: ${CERC_NITRO_CHAIN_URL:-ws://fixturenet-eth-geth-1:8546} - NITRO_USE_DURABLE_STORE: ${CERC_NITRO_USE_DURABLE_STORE:-false} - NITRO_DURABLE_STORE_FOLDER: ${CERC_NITRO_DURABLE_STORE_FOLDER:-/app/data/nitro-store} + NITRO_USE_DURABLE_STORE: ${CERC_NITRO_USE_DURABLE_STORE:-true} + NITRO_DURABLE_STORE_FOLDER: ${CERC_NITRO_DURABLE_STORE_FOLDER:-/app/nitro-data/nitro-store} CERC_NA_ADDRESS: ${CERC_NA_ADDRESS} CERC_VPA_ADDRESS: ${CERC_VPA_ADDRESS} CERC_CA_ADDRESS: ${CERC_CA_ADDRESS} @@ -40,7 +41,7 @@ services: - type: bind source: ../config/ipld-eth-server/chain.json target: /tmp/chain.json - - eth_server_nitro_data:/app/data + - eth_server_nitro_data:/app/nitro-data - nitro_deployment:/app/deployment - ../config/ipld-eth-server/entrypoint.sh:/app/entrypoint.sh ports: