7cc1988962
Adding docker-compose.dev.yml and Dockerfile.dev to mount the current dir and call a script to conditionally build for fast iteration
24 lines
507 B
YAML
24 lines
507 B
YAML
version: "3"
|
|
|
|
services:
|
|
geth_l2:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.dev
|
|
volumes:
|
|
- l2-node-data:/mnt/l2-node/l2:rw
|
|
- ./:/mnt/go-ethereum/
|
|
|
|
environment:
|
|
- REBUILD= # Set this if you want to rebuild on startup, leave unset otherwise
|
|
- CLEAR_DATA_KEY
|
|
- TARGET_GAS_LIMIT
|
|
- VOLUME_PATH=/mnt/l2-node/l2
|
|
- HOSTNAME=geth_l2
|
|
- PORT=8545
|
|
- NETWORK_ID=108
|
|
ports:
|
|
- 8545:8545
|
|
|
|
volumes:
|
|
l2-node-data: |