Skip to content

Commit d889e70

Browse files
FreekersMichael de Hoog
andauthored
Add volume mount for geth data (#49)
* Add volume mount for geth data Persist chain data * Add geth-data to .gitignore --------- Co-authored-by: Michael de Hoog <michael.dehoog@coinbase.com>
1 parent b92db3f commit d889e70

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/.idea/
2+
/geth-data/

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ services:
66
- 8546:8546
77
- 30303:30303
88
command: [ "sh", "./geth-entrypoint" ]
9+
volumes:
10+
- "./geth-data:/data"
911
environment:
1012
- OP_GETH_GENESIS_FILE_PATH=goerli/genesis-l2.json
1113
- OP_GETH_SEQUENCER_HTTP=https://goerli.base.org

0 commit comments

Comments
 (0)