Skip to content

Commit

Permalink
Add volume mount for geth data (base#49)
Browse files Browse the repository at this point in the history
* Add volume mount for geth data

Persist chain data

* Add geth-data to .gitignore

---------

Co-authored-by: Michael de Hoog <[email protected]>
  • Loading branch information
Freekers and mdehoog authored Jun 15, 2023
1 parent b92db3f commit d889e70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/.idea/
/geth-data/
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d889e70

Please sign in to comment.