forked from BreadchainCoop/commonware-restaking
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
138 lines (132 loc) · 4.1 KB
/
Copy pathdocker-compose.yml
File metadata and controls
138 lines (132 loc) · 4.1 KB
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
services:
ethereum:
platform: linux/amd64
image: ghcr.io/breadchaincoop/ethereum:dev
env_file:
- .env
ports:
- "8545:8545"
eigenlayer:
platform: linux/amd64
image: ghcr.io/breadchaincoop/eigenlayer:dev
depends_on:
ethereum:
condition: service_started
env_file:
- .env
volumes:
- ./config/.nodes:/root/.nodes
- ./config/config.example.json:/bls-middleware/contracts/docker/eigenlayer/config.json
signer:
image: ghcr.io/layr-labs/cerberus:0.0.2
platform: linux/amd64
depends_on:
eigenlayer:
condition: service_completed_successfully
ports:
- "${CERBERUS_METRICS_PORT:-9081}:${CERBERUS_METRICS_PORT:-9081}"
- "${CERBERUS_GRPC_PORT:-50051}:${CERBERUS_GRPC_PORT:-50051}"
environment:
- "METRICS_PORT=${CERBERUS_METRICS_PORT:-9081}"
env_file:
- .env
restart: unless-stopped
node-1:
image: ghcr.io/breadchaincoop/commonware-avs-node:dev
pull_policy: always
platform: linux/amd64
depends_on:
eigenlayer:
condition: service_completed_successfully
ethereum:
condition: service_started
env_file:
- .env
environment:
- HTTP_RPC=http://ethereum:8545
- WS_RPC=ws://ethereum:8545
- AVS_DEPLOYMENT_PATH=/app/.nodes/avs_deploy.json
volumes:
- ./config/.nodes/operator_keys/testacc1.private.bls.key.json:/app/key.json:ro
- ./config/.nodes:/app/.nodes:ro
- ./config/public_orchestrator.json:/app/public_orchestrator.json:ro
command: ["--key-file", "/app/key.json", "--port", "3001", "--orchestrator", "/app/public_orchestrator.json"]
ports:
- "4001:3001"
restart: unless-stopped
node-2:
image: ghcr.io/breadchaincoop/commonware-avs-node:dev
pull_policy: always
platform: linux/amd64
depends_on:
eigenlayer:
condition: service_completed_successfully
ethereum:
condition: service_started
env_file:
- .env
environment:
- HTTP_RPC=http://ethereum:8545
- WS_RPC=ws://ethereum:8545
- AVS_DEPLOYMENT_PATH=/app/.nodes/avs_deploy.json
volumes:
- ./config/.nodes/operator_keys/testacc2.private.bls.key.json:/app/key.json:ro
- ./config/.nodes:/app/.nodes:ro
- ./config/public_orchestrator.json:/app/public_orchestrator.json:ro
command: ["--key-file", "/app/key.json", "--port", "3002", "--orchestrator", "/app/public_orchestrator.json"]
ports:
- "4002:3002"
restart: unless-stopped
node-3:
image: ghcr.io/breadchaincoop/commonware-avs-node:dev
pull_policy: always
platform: linux/amd64
depends_on:
eigenlayer:
condition: service_completed_successfully
ethereum:
condition: service_started
env_file:
- .env
environment:
- HTTP_RPC=http://ethereum:8545
- WS_RPC=ws://ethereum:8545
- AVS_DEPLOYMENT_PATH=/app/.nodes/avs_deploy.json
volumes:
- ./config/.nodes/operator_keys/testacc3.private.bls.key.json:/app/key.json:ro
- ./config/.nodes:/app/.nodes:ro
- ./config/public_orchestrator.json:/app/public_orchestrator.json:ro
command: ["--key-file", "/app/key.json", "--port", "3003", "--orchestrator", "/app/public_orchestrator.json"]
ports:
- "4003:3003"
restart: unless-stopped
router:
build:
context: .
dockerfile: Dockerfile
platform: linux/amd64
depends_on:
eigenlayer:
condition: service_completed_successfully
ethereum:
condition: service_started
node-1:
condition: service_started
node-2:
condition: service_started
node-3:
condition: service_started
env_file:
- .env
environment:
- HTTP_RPC=http://ethereum:8545
- WS_RPC=ws://ethereum:8545
- AVS_DEPLOYMENT_PATH=/app/.nodes/avs_deploy.json
volumes:
- ./config/.nodes:/app/.nodes:ro
- ./config/router_orchestrator.json:/app/router_orchestrator.json:ro
command: ["--key-file", "/app/router_orchestrator.json", "--port", "3000"]
ports:
- "4000:3000"
- "8080:8080"
restart: unless-stopped