forked from kadrkn/zksync-era
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-runner.yml
36 lines (35 loc) · 1022 Bytes
/
docker-compose-runner.yml
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
version: '3.2'
services:
geth:
image: "matterlabs/geth:latest"
environment:
- PLUGIN_CONFIG
zk:
image: "matterlabs/zk-environment:latest2.0-lightweight"
depends_on:
- geth
- 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
environment:
- CACHE_DIR=/usr/src/cache
- SCCACHE_CACHE_SIZE=50g
- SCCACHE_GCS_BUCKET=matterlabs-infra-sccache-storage
- SCCACHE_GCS_OAUTH_URL=http://169.254.169.254/computeMetadata/v1/instance/service-accounts/[email protected]/token
- SCCACHE_ERROR_LOG=/tmp/sccache_log.txt
- SCCACHE_GCS_RW_MODE=READ_WRITE
- CI=1
- GITHUB_WORKSPACE=$GITHUB_WORKSPACE
env_file:
- ./.env
postgres:
image: "postgres:12"
ports:
- "5432:5432"
environment:
- POSTGRES_HOST_AUTH_METHOD=trust