-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
94 lines (81 loc) · 1.89 KB
/
docker-compose.yaml
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
version: '3'
services:
common:
build:
context: .
dockerfile: docker/Dockerfile.op-stack
volumes:
- ./op-stack-deployer:/app
working_dir: /app
networks:
- op-network
build-optimism:
extends:
service: common
command: go run cmd/1_build_optimism/main.go
build-op-geth:
extends:
service: common
command: go run cmd/2_build_op-geth/main.go
generate-keys:
extends:
service: common
command: go run cmd/3_generate_keys/main.go
configure-network:
extends:
service: common
command: go run cmd/4_configure_network/main.go
deploy-l1-contracts:
extends:
service: common
command: go run cmd/5_deploy_L1_contracts/main.go
l2-config:
extends:
service: common
command: go run cmd/6_L2_config/main.go
init-op-geth:
extends:
service: common
command: go run cmd/7_Initialize_op-geth/main.go
run-op-geth:
build:
context: .
dockerfile: docker/Dockerfile.run-op-geth
volumes:
- ./op-stack-deployer:/app
working_dir: /app
networks:
- op-network
command: go run cmd/8_run_op-geth/main.go
run-op-node:
build:
context: .
dockerfile: docker/Dockerfile.run-op-node
volumes:
- ./op-stack-deployer:/app
working_dir: /app
networks:
- op-network
command: go run cmd/9_run_op-node/main.go
run-op-batcher:
build:
context: .
dockerfile: docker/Dockerfile.run-op-batcher
volumes:
- ./op-stack-deployer:/app
working_dir: /app
networks:
- op-network
command: go run cmd/10_run_op-batcher/main.go
run-op-proposer:
build:
context: .
dockerfile: docker/Dockerfile.run-op-proposer
volumes:
- ./op-stack-deployer:/app
working_dir: /app
networks:
- op-network
command: go run cmd/11_run_op-proposer/main.go
networks:
op-network: