Skip to content

Commit

Permalink
update env for docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvelFisher committed Jun 13, 2023
1 parent 9e9747e commit a3f03d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
GETH_DATA_DIR=/db
GENESIS_FILE_PATH=/genesis.json
JWT_SECRET_PATH=/jwt-secret.txt
6 changes: 2 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ services:
- "sequencer_geth_data:${GETH_DATA_DIR}"
- "${PWD}/build/jwt-secret.txt:${JWT_SECRET_PATH}"
- "${PWD}/genesis_l2.json:${JWT_SECRET_PATH}"
environment:
- GETH_DATA_DIR=/db
- GENESIS_FILE_PATH=/genesis.json
- JWT_SECRET_PATH=/jwt-secret.txt
env_file:
- .env
entrypoint: # pass the L2 specific flags by overriding the entry-point and adding extra arguments
- "/bin/sh"
- "/entrypoint.sh"

0 comments on commit a3f03d7

Please sign in to comment.