From 528df38607ed548a4bfec4c2423d783f767551a4 Mon Sep 17 00:00:00 2001 From: ssallam Date: Tue, 8 Sep 2020 11:29:54 +0200 Subject: [PATCH] Make ganache run persist with db cache --- compose-files/ganache.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose-files/ganache.yml b/compose-files/ganache.yml index f369080..00f6516 100644 --- a/compose-files/ganache.yml +++ b/compose-files/ganache.yml @@ -7,4 +7,4 @@ services: networks: backend: ipv4_address: 172.15.0.3 - entrypoint: ["node", "/app/ganache-core.docker.cli.js","--networkId","0x2324","--gasLimit","10000000000","--gasPrice","1","---hardfork","istanbul","--mnemonic","${GANACHE_MNEMONIC}"] \ No newline at end of file + entrypoint: ["node", "/app/ganache-core.docker.cli.js", "--blockTime", "2", "--db", "./ganache_cache", "--networkId","0x2324","--gasLimit","10000000000","--gasPrice","1","---hardfork","istanbul","--mnemonic","${GANACHE_MNEMONIC}"] \ No newline at end of file