@@ -11,12 +11,13 @@ volumes:
1111 redis-data :
1212
1313services :
14- anvil :
15- image : ghcr.io/foundry-rs/foundry :latest
14+ reth :
15+ image : ghcr.io/paradigmxyz/reth :latest
1616 platform : linux/amd64
17- entrypoint : ["anvil ", "--host ", "0.0.0.0", "--port ", "8545 ", "--block-time ", "2 "]
17+ entrypoint : ["reth ", "node", "--dev ", "--chain", "dev", "--dev.block-time", "2sec", "--http", "--ws", "--http.addr", " 0.0.0.0", "--ws.addr ", "0.0.0.0 ", "--metrics ", "0.0.0.0:9001 "]
1818 ports :
1919 - " 8545:8545"
20+ - " 9001:9001"
2021 networks :
2122 - prime
2223 - app-network
@@ -35,7 +36,7 @@ services:
3536 - ./smart-contracts:/app
3637 working_dir : /app
3738 environment :
38- - RPC_URL=http://anvil :8545
39+ - RPC_URL=http://reth :8545
3940 entrypoint : ["/bin/sh", "-c"]
4041 command : |
4142 "
@@ -51,7 +52,7 @@ services:
5152 networks :
5253 - prime
5354 depends_on :
54- anvil :
55+ reth :
5556 condition : service_healthy
5657
5758 redis :
@@ -72,13 +73,13 @@ services:
7273 ports :
7374 - " 8089:8089"
7475 environment :
75- - RPC_URL=http://anvil :8545
76+ - RPC_URL=http://reth :8545
7677 - REDIS_URL=redis://redis:6379
7778 - PLATFORM_API_KEY=prime
7879 networks :
7980 - prime
8081 depends_on :
81- anvil :
82+ reth :
8283 condition : service_healthy
8384 redis :
8485 condition : service_healthy
@@ -91,7 +92,7 @@ services:
9192 ports :
9293 - " 8090:8090"
9394 environment :
94- - RPC_URL=http://anvil :8545
95+ - RPC_URL=http://reth :8545
9596 - REDIS_STORE_URL=redis://redis:6379
9697 - DISCOVERY_URL=http://discovery:8089
9798 - URL=http://localhost:8090
@@ -104,7 +105,7 @@ services:
104105 networks :
105106 - prime
106107 depends_on :
107- anvil :
108+ reth :
108109 condition : service_healthy
109110 redis :
110111 condition : service_healthy
@@ -121,7 +122,7 @@ services:
121122 networks :
122123 - prime
123124 environment :
124- - RPC_URL=http://anvil :8545
125+ - RPC_URL=http://reth :8545
125126 - DISCOVERY_URL=http://discovery:8089
126127 - VALIDATOR_KEY=${PRIVATE_KEY_VALIDATOR}
127128 - WORK_VALIDATION_CONTRACT=${WORK_VALIDATION_CONTRACT}
@@ -132,7 +133,7 @@ services:
132133 - TOPLOC_GRACE_INTERVAL=15
133134 - REDIS_URL=redis://redis:6379
134135 depends_on :
135- anvil :
136+ reth :
136137 condition : service_healthy
137138 redis :
138139 condition : service_healthy
0 commit comments