-
Notifications
You must be signed in to change notification settings - Fork 15
/
standalone-docker-compose.yaml
180 lines (178 loc) · 6.32 KB
/
standalone-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
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
version: "3"
include:
- docker-compose.yaml
services:
orchestrator:
image: ghcr.io/espressosystems/espresso-sequencer/orchestrator:main
ports:
- "$ESPRESSO_ORCHESTRATOR_PORT:$ESPRESSO_ORCHESTRATOR_PORT"
environment:
- ESPRESSO_ORCHESTRATOR_PORT
- ESPRESSO_ORCHESTRATOR_NUM_NODES=5
- ESPRESSO_ORCHESTRATOR_START_DELAY=5s
- ESPRESSO_ORCHESTRATOR_MIN_PROPOSE_TIME
- ESPRESSO_ORCHESTRATOR_MAX_PROPOSE_TIME
- ESPRESSO_ORCHESTRATOR_NEXT_VIEW_TIMEOUT
- RUST_LOG
- RUST_LOG_FORMAT
stop_grace_period: 1s
da-server:
image: ghcr.io/espressosystems/espresso-sequencer/web-server:main
ports:
- "$ESPRESSO_DA_SERVER_PORT:$ESPRESSO_WEB_SERVER_PORT"
environment:
- ESPRESSO_WEB_SERVER_PORT
- RUST_LOG=error
depends_on:
orchestrator:
condition: service_healthy
stop_grace_period: 1s
consensus-server:
image: ghcr.io/espressosystems/espresso-sequencer/web-server:main
ports:
- "$ESPRESSO_CONSENSUS_SERVER_PORT:$ESPRESSO_WEB_SERVER_PORT"
environment:
- ESPRESSO_WEB_SERVER_PORT
- RUST_LOG=error
depends_on:
orchestrator:
condition: service_healthy
stop_grace_period: 1s
sequencer0:
image: ghcr.io/espressosystems/espresso-sequencer/sequencer:main
# Run consensus *plus* the sequencer API server.
command: /bin/sequencer -- http -- query -- status -- submit
ports:
- "$ESPRESSO_SEQUENCER_API_PORT:$ESPRESSO_SEQUENCER_API_PORT"
environment:
- ESPRESSO_SEQUENCER_ORCHESTRATOR_URL
- ESPRESSO_SEQUENCER_DA_SERVER_URL
- ESPRESSO_SEQUENCER_CONSENSUS_SERVER_URL
- ESPRESSO_SEQUENCER_API_PORT
- ESPRESSO_SEQUENCER_STORAGE_PATH
- ESPRESSO_SEQUENCER_L1_WS_PROVIDER
- ESPRESSO_SEQUENCER_PRIVATE_STAKING_KEY=$ESPRESSO_DEMO_SEQUENCER_STAKING_PRIVATE_KEY_0
- ESPRESSO_SEQUENCER_PRIVATE_STATE_KEY=$ESPRESSO_DEMO_SEQUENCER_STATE_PRIVATE_KEY_0
- ESPRESSO_SEQUENCER_ETH_MNEMONIC
- ESPRESSO_SEQUENCER_ETH_ACCOUNT_INDEX
- ESPRESSO_SEQUENCER_PREFUNDED_BUILDER_ACCOUNTS
- RUST_LOG
- RUST_LOG_FORMAT
depends_on:
orchestrator:
condition: service_healthy
demo-l1-network:
condition: service_healthy
stop_grace_period: 1s
extra_hosts:
- "host.docker.internal:host-gateway"
sequencer1:
image: ghcr.io/espressosystems/espresso-sequencer/sequencer:main
environment:
- ESPRESSO_SEQUENCER_ORCHESTRATOR_URL
- ESPRESSO_SEQUENCER_DA_SERVER_URL
- ESPRESSO_SEQUENCER_CONSENSUS_SERVER_URL
- ESPRESSO_SEQUENCER_API_PORT
- ESPRESSO_SEQUENCER_L1_WS_PROVIDER
- ESPRESSO_SEQUENCER_PRIVATE_STAKING_KEY=$ESPRESSO_DEMO_SEQUENCER_STAKING_PRIVATE_KEY_1
- ESPRESSO_SEQUENCER_PRIVATE_STATE_KEY=$ESPRESSO_DEMO_SEQUENCER_STATE_PRIVATE_KEY_1
- ESPRESSO_SEQUENCER_ETH_MNEMONIC
- ESPRESSO_SEQUENCER_ETH_ACCOUNT_INDEX
- ESPRESSO_SEQUENCER_PREFUNDED_BUILDER_ACCOUNTS
- RUST_LOG
- RUST_LOG_FORMAT
depends_on:
orchestrator:
condition: service_healthy
sequencer0:
condition: service_started
stop_grace_period: 1s
extra_hosts:
- "host.docker.internal:host-gateway"
sequencer2:
image: ghcr.io/espressosystems/espresso-sequencer/sequencer:main
environment:
- ESPRESSO_SEQUENCER_ORCHESTRATOR_URL
- ESPRESSO_SEQUENCER_DA_SERVER_URL
- ESPRESSO_SEQUENCER_CONSENSUS_SERVER_URL
- ESPRESSO_SEQUENCER_API_PORT
- ESPRESSO_SEQUENCER_L1_WS_PROVIDER
- ESPRESSO_SEQUENCER_PRIVATE_STAKING_KEY=$ESPRESSO_DEMO_SEQUENCER_STAKING_PRIVATE_KEY_2
- ESPRESSO_SEQUENCER_PRIVATE_STATE_KEY=$ESPRESSO_DEMO_SEQUENCER_STATE_PRIVATE_KEY_2
- ESPRESSO_SEQUENCER_ETH_MNEMONIC
- ESPRESSO_SEQUENCER_ETH_ACCOUNT_INDEX
- ESPRESSO_SEQUENCER_PREFUNDED_BUILDER_ACCOUNTS
- RUST_LOG
- RUST_LOG_FORMAT
depends_on:
orchestrator:
condition: service_healthy
sequencer0:
condition: service_started
stop_grace_period: 1s
extra_hosts:
- "host.docker.internal:host-gateway"
sequencer3:
image: ghcr.io/espressosystems/espresso-sequencer/sequencer:main
environment:
- ESPRESSO_SEQUENCER_ORCHESTRATOR_URL
- ESPRESSO_SEQUENCER_DA_SERVER_URL
- ESPRESSO_SEQUENCER_CONSENSUS_SERVER_URL
- ESPRESSO_SEQUENCER_API_PORT
- ESPRESSO_SEQUENCER_L1_WS_PROVIDER
- ESPRESSO_SEQUENCER_PRIVATE_STAKING_KEY=$ESPRESSO_DEMO_SEQUENCER_STAKING_PRIVATE_KEY_3
- ESPRESSO_SEQUENCER_PRIVATE_STATE_KEY=$ESPRESSO_DEMO_SEQUENCER_STATE_PRIVATE_KEY_3
- ESPRESSO_SEQUENCER_ETH_MNEMONIC
- ESPRESSO_SEQUENCER_ETH_ACCOUNT_INDEX
- ESPRESSO_SEQUENCER_PREFUNDED_BUILDER_ACCOUNTS
- RUST_LOG
- RUST_LOG_FORMAT
depends_on:
orchestrator:
condition: service_healthy
sequencer0:
condition: service_started
stop_grace_period: 1s
extra_hosts:
- "host.docker.internal:host-gateway"
sequencer4:
image: ghcr.io/espressosystems/espresso-sequencer/sequencer:main
environment:
- ESPRESSO_SEQUENCER_ORCHESTRATOR_URL
- ESPRESSO_SEQUENCER_DA_SERVER_URL
- ESPRESSO_SEQUENCER_CONSENSUS_SERVER_URL
- ESPRESSO_SEQUENCER_API_PORT
- ESPRESSO_SEQUENCER_L1_WS_PROVIDER
- ESPRESSO_SEQUENCER_PRIVATE_STAKING_KEY=$ESPRESSO_DEMO_SEQUENCER_STAKING_PRIVATE_KEY_4
- ESPRESSO_SEQUENCER_PRIVATE_STATE_KEY=$ESPRESSO_DEMO_SEQUENCER_STATE_PRIVATE_KEY_4
- ESPRESSO_SEQUENCER_ETH_MNEMONIC
- ESPRESSO_SEQUENCER_ETH_ACCOUNT_INDEX
- ESPRESSO_SEQUENCER_PREFUNDED_BUILDER_ACCOUNTS
- RUST_LOG
- RUST_LOG_FORMAT
depends_on:
orchestrator:
condition: service_healthy
sequencer0:
condition: service_started
stop_grace_period: 1s
extra_hosts:
- "host.docker.internal:host-gateway"
commitment-task:
image: ghcr.io/espressosystems/espresso-sequencer/commitment-task:main
environment:
- ESPRESSO_SEQUENCER_ETH_MNEMONIC
- ESPRESSO_SEQUENCER_HOTSHOT_ACCOUNT_INDEX
- ESPRESSO_SEQUENCER_HOTSHOT_ADDRESS
- ESPRESSO_SEQUENCER_URL
- ESPRESSO_SEQUENCER_L1_PROVIDER
- RUST_LOG
- RUST_LOG_FORMAT
depends_on:
sequencer0:
condition: service_healthy
demo-l1-network:
condition: service_healthy
stop_grace_period: 1s
extra_hosts:
- "host.docker.internal:host-gateway"