forked from matter-labs/zksync-era
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-cpu-runner.yml
More file actions
41 lines (39 loc) · 1.18 KB
/
docker-compose-cpu-runner.yml
File metadata and controls
41 lines (39 loc) · 1.18 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
version: '3.2'
services:
reth:
restart: always
image: "ghcr.io/paradigmxyz/reth:v1.8.2"
volumes:
- type: bind
source: ./volumes/reth/data
target: /rethdata
- type: bind
source: ./etc/reth/chaindata
target: /chaindata
command: node --dev --datadir /rethdata --http --http.addr 0.0.0.0 --http.port 8545 --http.corsdomain "*" --dev.block-time 300ms --chain /chaindata/reth_config
ports:
- 127.0.0.1:8545:8545
zk:
image: "ghcr.io/matter-labs/zk-environment:latest2.0-lightweight-nightly"
depends_on:
- reth
- postgres
security_opt:
- seccomp:unconfined
command: tail -f /dev/null
volumes:
- .:/usr/src/zksync
- /usr/src/cache:/usr/src/cache
- /var/run/docker.sock:/var/run/docker.sock
- /usr/src/setup-data:/mnt/prover_setup_keys
- /usr/src/setup-data:/usr/src/setup-data
env_file:
- ./.env
postgres:
image: "postgres:14"
command: postgres -c 'max_connections=200'
ports:
- 127.0.0.1:5432:5432
environment:
# We bind only to 127.0.0.1, so setting insecure password is acceptable here
- POSTGRES_PASSWORD=notsecurepassword