Skip to content

Commit ad8ff07

Browse files
Build images for x86 CPUs on Mac.
1 parent 87cd7d5 commit ad8ff07

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

docker-compose.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ services:
44
context: .
55
dockerfile: Dockerfile
66
restart: always
7+
platform: linux/amd64
78
environment:
89
EVM_RPC_URL: '${RPC_URL_ETHEREUM}'
910
CHAIN_ID: '1'
@@ -74,6 +75,7 @@ services:
7475
context: .
7576
dockerfile: Dockerfile
7677
restart: always
78+
platform: linux/amd64
7779
environment:
7880
EVM_RPC_URL: '${BSC_RPC_URL_ALCHEMY}'
7981
CHAIN_ID: '56'
@@ -112,6 +114,7 @@ services:
112114
context: .
113115
dockerfile: Dockerfile
114116
restart: always
117+
platform: linux/amd64
115118
environment:
116119
EVM_RPC_URL: '${RPC_URL_POLYGON}'
117120
CHAIN_ID: '137'
@@ -149,6 +152,7 @@ services:
149152
context: .
150153
dockerfile: Dockerfile
151154
restart: always
155+
platform: linux/amd64
152156
environment:
153157
EVM_RPC_URL: '${RPC_URL_AVALANCHE}'
154158
CHAIN_ID: '43114'
@@ -184,6 +188,7 @@ services:
184188
context: .
185189
dockerfile: Dockerfile
186190
restart: always
191+
platform: linux/amd64
187192
environment:
188193
EVM_RPC_URL: '${FANTOM_RPC_URL_ALCHEMY}'
189194
CHAIN_ID: '250'
@@ -219,6 +224,7 @@ services:
219224
context: .
220225
dockerfile: Dockerfile
221226
restart: always
227+
platform: linux/amd64
222228
environment:
223229
EVM_RPC_URL: '${CELO_RPC_URL_ALCHEMY}'
224230
CHAIN_ID: '42220'
@@ -248,6 +254,7 @@ services:
248254
context: .
249255
dockerfile: Dockerfile
250256
restart: always
257+
platform: linux/amd64
251258
environment:
252259
useLevel: "debug"
253260
EVM_RPC_URL: '${RPC_URL_OPTIMISM}'
@@ -285,6 +292,7 @@ services:
285292
context: .
286293
dockerfile: Dockerfile
287294
restart: always
295+
platform: linux/amd64
288296
environment:
289297
LOG_LEVEL: "debug"
290298
EVM_RPC_URL: '${EVM_RPC_URL_ARBITRUM}'
@@ -334,6 +342,7 @@ services:
334342
context: .
335343
dockerfile: Dockerfile
336344
restart: always
345+
platform: linux/amd64
337346
environment:
338347
EVM_RPC_URL: '${RPC_URL_BASE}'
339348
CHAIN_ID: '8453'
@@ -368,6 +377,7 @@ services:
368377
context: .
369378
dockerfile: Dockerfile
370379
restart: always
380+
platform: linux/amd64
371381
environment:
372382
EVM_RPC_URL: '${SCROLL_RPC_URL_ALCHEMY}'
373383
CHAIN_ID: '534352'
@@ -407,6 +417,7 @@ services:
407417
context: .
408418
dockerfile: Dockerfile
409419
restart: always
420+
platform: linux/amd64
410421
environment:
411422
EVM_RPC_URL: '${BLAST_RPC_URL_ALCHEMY}'
412423
CHAIN_ID: '81457'
@@ -446,6 +457,7 @@ services:
446457
context: .
447458
dockerfile: Dockerfile
448459
restart: always
460+
platform: linux/amd64
449461
environment:
450462
EVM_RPC_URL: '${LINEA_RPC_URL_ALCHEMY}'
451463
CHAIN_ID: '59144'
@@ -485,6 +497,7 @@ services:
485497
context: .
486498
dockerfile: Dockerfile
487499
restart: always
500+
platform: linux/amd64
488501
environment:
489502
EVM_RPC_URL: '${MODE_RPC_URL_ALCHEMY}'
490503
CHAIN_ID: '34443'
@@ -524,6 +537,7 @@ services:
524537
context: .
525538
dockerfile: Dockerfile
526539
restart: always
540+
platform: linux/amd64
527541
environment:
528542
EVM_RPC_URL: '${MANTLE_RPC_URL_QUICKNODE}'
529543
CHAIN_ID: '5000'
@@ -563,6 +577,7 @@ services:
563577
context: .
564578
dockerfile: Dockerfile
565579
restart: always
580+
platform: linux/amd64
566581
environment:
567582
EVM_RPC_URL: '${RPC_URL_ETHEREUM}'
568583
CHAIN_ID: '1'
@@ -587,7 +602,7 @@ services:
587602
event-pipeline-plasma:
588603
build:
589604
context: .
590-
dockerfile: Dockerfile.dev
605+
dockerfile: Dockerfile
591606
platform: linux/amd64
592607
restart: never
593608
environment:

0 commit comments

Comments
 (0)