Skip to content

Commit abbe1bd

Browse files
committed
local dev
1 parent 5fa45e9 commit abbe1bd

File tree

1 file changed

+21
-61
lines changed

1 file changed

+21
-61
lines changed

docker-compose-dev.yml

+21-61
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ version: '3'
22
services:
33

44
event-pipeline-ethereum:
5-
depends_on:
6-
- postgres
75
build:
86
context: .
97
dockerfile: Dockerfile.dev
@@ -15,10 +13,6 @@ services:
1513
SCHEMA: 'events'
1614
# FEAT_EXCLUSIVE_TOKENS_FROM_TRANSACTIONS: "true"
1715
# TOKENS_FROM_TRANSACTIONS_START_BLOCK: 9193266
18-
KAFKA_BROKERS: '${KAFKA_BROKERS}'
19-
KAFKA_SSL: '${KAFKA_SSL}'
20-
KAFKA_AUTH_USER: '${KAFKA_AUTH_USER}'
21-
KAFKA_AUTH_PASSWORD: '${KAFKA_AUTH_PASSWORD}'
2216
EP_DEPLOYMENT_BLOCK: 10247094
2317
MAX_BLOCKS_TO_SEARCH: 1000
2418
MAX_BLOCKS_TO_PULL: 1000
@@ -57,10 +51,10 @@ services:
5751
# ONCHAIN_GOVERNANCE_START_BLOCK: 16990159
5852
FEAT_WRAP_UNWRAP_NATIVE_EVENT: "true"
5953
WRAP_UNWRAP_NATIVE_CONTRACT_ADDRESS: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2'
54+
networks:
55+
- 0x-data-migrations_default
6056

61-
event-pipeline-bsc:
62-
depends_on:
63-
- postgres
57+
event-pipeline-bsc:
6458
build:
6559
context: .
6660
dockerfile: Dockerfile.dev
@@ -71,10 +65,6 @@ services:
7165
POSTGRES_URI: 'postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres/${POSTGRES_DB}'
7266
SCHEMA: 'events_bsc'
7367
MAX_BLOCKS_REORG: 50
74-
KAFKA_BROKERS: '${KAFKA_BROKERS}'
75-
KAFKA_SSL: '${KAFKA_SSL}'
76-
KAFKA_AUTH_USER: '${KAFKA_AUTH_USER}'
77-
KAFKA_AUTH_PASSWORD: '${KAFKA_AUTH_PASSWORD}'
7868
EP_DEPLOYMENT_BLOCK: 5375047
7969
MAX_BLOCKS_TO_SEARCH: 2000
8070
MAX_BLOCKS_TO_PULL: 5000
@@ -87,10 +77,10 @@ services:
8777
# NFT_FEATURE_START_BLOCK: 15860129
8878
FEAT_WRAP_UNWRAP_NATIVE_EVENT: "true"
8979
WRAP_UNWRAP_NATIVE_CONTRACT_ADDRESS: '0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c'
80+
networks:
81+
- 0x-data-migrations_default
9082

9183
event-pipeline-polygon:
92-
depends_on:
93-
- postgres
9484
build:
9585
context: .
9686
dockerfile: Dockerfile.dev
@@ -100,10 +90,6 @@ services:
10090
CHAIN_ID: '137'
10191
POSTGRES_URI: 'postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres/${POSTGRES_DB}'
10292
SCHEMA: 'events_polygon'
103-
KAFKA_BROKERS: '${KAFKA_BROKERS}'
104-
KAFKA_SSL: '${KAFKA_SSL}'
105-
KAFKA_AUTH_USER: '${KAFKA_AUTH_USER}'
106-
KAFKA_AUTH_PASSWORD: '${KAFKA_AUTH_PASSWORD}'
10793
ENABLE_PROMETHEUS_METRICS: "true"
10894
EP_DEPLOYMENT_BLOCK: 14391480
10995
MAX_BLOCKS_TO_SEARCH: 1000
@@ -121,10 +107,10 @@ services:
121107
# META_TRANSACTION_EXECUTED_START_BLOCK: 39406300
122108
FEAT_WRAP_UNWRAP_NATIVE_EVENT: "true"
123109
WRAP_UNWRAP_NATIVE_CONTRACT_ADDRESS: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270'
110+
networks:
111+
- 0x-data-migrations_default
124112

125113
event-pipeline-avalanche:
126-
depends_on:
127-
- postgres
128114
build:
129115
context: .
130116
dockerfile: Dockerfile.dev
@@ -134,10 +120,6 @@ services:
134120
CHAIN_ID: '43114'
135121
POSTGRES_URI: 'postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres/${POSTGRES_DB}'
136122
SCHEMA: 'events_avalanche'
137-
KAFKA_BROKERS: '${KAFKA_BROKERS}'
138-
KAFKA_SSL: '${KAFKA_SSL}'
139-
KAFKA_AUTH_USER: '${KAFKA_AUTH_USER}'
140-
KAFKA_AUTH_PASSWORD: '${KAFKA_AUTH_PASSWORD}'
141123
ENABLE_PROMETHEUS_METRICS: "true"
142124
EP_DEPLOYMENT_BLOCK: 3601700
143125
MAX_BLOCKS_TO_SEARCH: 5000
@@ -150,10 +132,10 @@ services:
150132
NFT_FEATURE_START_BLOCK: 11816835
151133
FEAT_WRAP_UNWRAP_NATIVE_EVENT: "true"
152134
WRAP_UNWRAP_NATIVE_CONTRACT_ADDRESS: '0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7'
135+
networks:
136+
- 0x-data-migrations_default
153137

154138
event-pipeline-fantom:
155-
depends_on:
156-
- postgres
157139
build:
158140
context: .
159141
dockerfile: Dockerfile.dev
@@ -163,10 +145,6 @@ services:
163145
CHAIN_ID: '250'
164146
POSTGRES_URI: 'postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres/${POSTGRES_DB}'
165147
SCHEMA: 'events_fantom'
166-
KAFKA_BROKERS: '${KAFKA_BROKERS}'
167-
KAFKA_SSL: '${KAFKA_SSL}'
168-
KAFKA_AUTH_USER: '${KAFKA_AUTH_USER}'
169-
KAFKA_AUTH_PASSWORD: '${KAFKA_AUTH_PASSWORD}'
170148
EP_ADDRESS: "0xDEF189DeAEF76E379df891899eb5A00a94cBC250"
171149
ENABLE_PROMETHEUS_METRICS: "true"
172150
EP_DEPLOYMENT_BLOCK: 18855765
@@ -180,10 +158,10 @@ services:
180158
NFT_FEATURE_START_BLOCK: 32817445
181159
FEAT_WRAP_UNWRAP_NATIVE_TRANSFER_EVENT: "true"
182160
WRAP_UNWRAP_NATIVE_CONTRACT_ADDRESS: '0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83'
161+
networks:
162+
- 0x-data-migrations_default
183163

184164
event-pipeline-celo:
185-
depends_on:
186-
- postgres
187165
build:
188166
context: .
189167
dockerfile: Dockerfile.dev
@@ -193,21 +171,17 @@ services:
193171
CHAIN_ID: '42220'
194172
POSTGRES_URI: 'postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres/${POSTGRES_DB}'
195173
SCHEMA: 'events_celo'
196-
KAFKA_BROKERS: '${KAFKA_BROKERS}'
197-
KAFKA_SSL: '${KAFKA_SSL}'
198-
KAFKA_AUTH_USER: '${KAFKA_AUTH_USER}'
199-
KAFKA_AUTH_PASSWORD: '${KAFKA_AUTH_PASSWORD}'
200174
ENABLE_PROMETHEUS_METRICS: "true"
201175
EP_DEPLOYMENT_BLOCK: 9350111
202176
MAX_BLOCKS_TO_SEARCH: 5000
203177
MAX_BLOCKS_TO_PULL: 2000
204178
MINUTES_BETWEEN_RUNS: 1
205179
FEAT_NFT: "true"
206180
NFT_FEATURE_START_BLOCK: 11820000
181+
networks:
182+
- 0x-data-migrations_default
207183

208184
event-pipeline-optimism:
209-
depends_on:
210-
- postgres
211185
build:
212186
context: .
213187
dockerfile: Dockerfile.dev
@@ -217,10 +191,6 @@ services:
217191
CHAIN_ID: '10'
218192
POSTGRES_URI: 'postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres/${POSTGRES_DB}'
219193
SCHEMA: 'events_optimism'
220-
KAFKA_BROKERS: '${KAFKA_BROKERS}'
221-
KAFKA_SSL: '${KAFKA_SSL}'
222-
KAFKA_AUTH_USER: '${KAFKA_AUTH_USER}'
223-
KAFKA_AUTH_PASSWORD: '${KAFKA_AUTH_PASSWORD}'
224194
EP_DEPLOYMENT_BLOCK: 1691335
225195
MAX_BLOCKS_TO_SEARCH: 1000
226196
MAX_BLOCKS_TO_PULL: 1000
@@ -230,10 +200,10 @@ services:
230200
NFT_FEATURE_START_BLOCK: 4214981
231201
FEAT_WRAP_UNWRAP_NATIVE_EVENT: "true"
232202
WRAP_UNWRAP_NATIVE_CONTRACT_ADDRESS: "0x4200000000000000000000000000000000000006"
203+
networks:
204+
- 0x-data-migrations_default
233205

234206
event-pipeline-arbitrum:
235-
depends_on:
236-
- postgres
237207
build:
238208
context: .
239209
dockerfile: Dockerfile.dev
@@ -243,10 +213,6 @@ services:
243213
CHAIN_ID: '42161'
244214
POSTGRES_URI: 'postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres/${POSTGRES_DB}'
245215
SCHEMA: 'events_arbitrum'
246-
KAFKA_BROKERS: '${KAFKA_BROKERS}'
247-
KAFKA_SSL: '${KAFKA_SSL}'
248-
KAFKA_AUTH_USER: '${KAFKA_AUTH_USER}'
249-
KAFKA_AUTH_PASSWORD: '${KAFKA_AUTH_PASSWORD}'
250216
EP_DEPLOYMENT_BLOCK: 4050733
251217
MAX_BLOCKS_TO_SEARCH: 1000
252218
MAX_BLOCKS_TO_PULL: 1000
@@ -256,10 +222,10 @@ services:
256222
NFT_FEATURE_START_BLOCK: 4050733
257223
FEAT_WRAP_UNWRAP_NATIVE_TRANSFER_EVENT: "true"
258224
WRAP_UNWRAP_NATIVE_CONTRACT_ADDRESS: '0x82af49447d8a07e3bd95bd0d56f35241523fbab1'
225+
networks:
226+
- 0x-data-migrations_default
259227

260228
event-pipeline-base:
261-
depends_on:
262-
- postgres
263229
build:
264230
context: .
265231
dockerfile: Dockerfile.dev
@@ -275,12 +241,10 @@ services:
275241
SECONDS_BETWEEN_RUNS: 1
276242
FEAT_NFT: "true"
277243
NFT_FEATURE_START_BLOCK: 1410394
278-
KAFKA_BROKERS: '${KAFKA_BROKERS}'
279-
KAFKA_SSL: '${KAFKA_SSL}'
280-
KAFKA_AUTH_USER: '${KAFKA_AUTH_USER}'
281-
KAFKA_AUTH_PASSWORD: '${KAFKA_AUTH_PASSWORD}'
282244
FEAT_WRAP_UNWRAP_NATIVE_EVENT: "true"
283245
WRAP_UNWRAP_NATIVE_CONTRACT_ADDRESS: '0x4200000000000000000000000000000000000006'
246+
networks:
247+
- 0x-data-migrations_default
284248

285249
event-pipeline-scroll:
286250
build:
@@ -370,8 +334,6 @@ services:
370334
- 0x-data-migrations_default
371335

372336
token-scraper-ethereum:
373-
depends_on:
374-
- postgres
375337
build:
376338
context: .
377339
dockerfile: Dockerfile.dev
@@ -381,10 +343,6 @@ services:
381343
CHAIN_ID: '1'
382344
POSTGRES_URI: 'postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres/${POSTGRES_DB}'
383345
SCHEMA: 'events'
384-
KAFKA_BROKERS: '${KAFKA_BROKERS}'
385-
KAFKA_SSL: '${KAFKA_SSL}'
386-
KAFKA_AUTH_USER: '${KAFKA_AUTH_USER}'
387-
KAFKA_AUTH_PASSWORD: '${KAFKA_AUTH_PASSWORD}'
388346
LOG_LEVEL: "info"
389347
FEAT_EXCLUSIVE_TOKENS_FROM_TRANSACTIONS: "true"
390348
TOKENS_FROM_TRANSACTIONS_START_BLOCK: 9193266
@@ -393,6 +351,8 @@ services:
393351
MAX_BLOCKS_TO_PULL: 1000
394352
MAX_TX_TO_PULL: 1000
395353
SECONDS_BETWEEN_RUNS: 5
354+
networks:
355+
- 0x-data-migrations_default
396356

397357
networks:
398358
0x-data-migrations_default:

0 commit comments

Comments
 (0)