go-ethereum/docker-compose.dev.yml
Will Meister 7cc1988962
Create local development Dockerfile and docker-compose (#17)
Adding docker-compose.dev.yml and Dockerfile.dev to mount the current dir and call a script to conditionally build for fast iteration
2020-08-28 09:13:38 -05:00

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: