diff --git a/.gitignore b/.gitignore index 85e7c1dfc..e4ab8e720 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /.idea/ +/geth-data/ diff --git a/docker-compose.yml b/docker-compose.yml index 3f0f4a023..9249a580a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,6 +6,8 @@ services: - 8546:8546 - 30303:30303 command: [ "sh", "./geth-entrypoint" ] + volumes: + - "./geth-data:/data" environment: - OP_GETH_GENESIS_FILE_PATH=goerli/genesis-l2.json - OP_GETH_SEQUENCER_HTTP=https://goerli.base.org