forked from ethereum-optimism/optimism-integration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.local.yml
54 lines (47 loc) · 1.45 KB
/
docker-compose.local.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version: "3"
services:
integration_tests:
image: ethereumoptimism/integration-tests:${INTEGRATION_TESTS_TAG:-latest}
volumes:
- ./integration-tests:/integration-tests
- ./docker/integration-tests/wait-for-l1-and-l2-and-contract-deployment.sh:/wait.sh
entrypoint: ["/wait.sh", "yarn", "run", "ci"]
environment:
- "PKGS=${PKGS}"
l1_chain:
image: ethereumoptimism/hardhat:${L1_CHAIN_TAG:-latest}
ports:
- 9545:9545
geth_l2:
image: ethereumoptimism/go-ethereum:${GETH_L2_TAG:-latest}
volumes:
- ./:/mnt
- geth:/l2-node/l2:rw
# Put modules cache into a separate volume
- go-modules:/go/pkg/mod
# Mount the locally built geth earlier in the PATH
- ./go-ethereum/build/bin/geth:/usr/local/sbin/geth
ports:
- 8545:8545
- 8546:8546
batch_submitter:
image: ethereumoptimism/batch-submitter:${BATCH_SUBMITTER_TAG:-latest}
volumes:
- ./batch-submitter:/opt/batch-submitter
data_transport_layer:
image: ethereumoptimism/data-transport-layer:${DATA_TRANSPORT_LAYER_TAG:-latest}
volumes:
- ./data-transport-layer:/opt/data-transport-layer
ports:
- 7878:7878
deployer:
image: ethereumoptimism/deployer:${DEPLOYER_TAG:-latest}
working_dir: /opt/contracts
entrypoint: ["/wait-for-l1.sh", "yarn", "run", "--silent", "deploy"]
volumes:
- ./contracts:/opt/contracts
ports:
- 8080:8080
volumes:
geth:
go-modules: