From 6139d28b2a0864f8cba6ec74957bc7517ac337a0 Mon Sep 17 00:00:00 2001 From: Freekers <1370857+Freekers@users.noreply.github.com> Date: Thu, 4 May 2023 20:19:15 +0200 Subject: [PATCH 1/2] Add volume mount for geth data Persist chain data --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index d068dfa8a..de3f30026 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,6 +6,8 @@ services: - 8546:8546 - 30303:30303 command: [ "sh", "./geth-entrypoint.sh" ] + volumes: + - "./geth-data:/data" environment: - OP_GETH_GENESIS_FILE_PATH=goerli/genesis-l2.json - OP_GETH_SEQUENCER_HTTP=https://goerli.base.org From 0a8c60b102f7fedd15f7f332bfdf47161dc1e4d9 Mon Sep 17 00:00:00 2001 From: Michael de Hoog Date: Thu, 15 Jun 2023 12:57:52 -1000 Subject: [PATCH 2/2] Add geth-data to .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 85e7c1dfc..e4ab8e720 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /.idea/ +/geth-data/