forked from matter-labs/zksync
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose-runner.yml
46 lines (42 loc) · 1.16 KB
/
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
37
38
39
40
41
42
43
44
45
46
version: '3.2'
services:
postgres:
image: "postgres:12"
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
geth:
image: "matterlabs/geth:latest"
environment:
- PLUGIN_CONFIG=fast
dev-ticker:
image: "matterlabs/dev-ticker:latest"
volumes:
- ./etc/tokens/:/etc/tokens
dev-liquidity-token-watcher:
image: "matterlabs/dev-liquidity-token-watcher:latest"
env_file:
- ./etc/env/docker.env
volumes:
- ./etc/tokens/:/etc/tokens
zk:
image: "matterlabs/zk-environment:latest"
depends_on:
- postgres
- geth
- dev-ticker
- dev-liquidity-token-watcher
command: tail -f /dev/null
volumes:
- .:/usr/src/zksync
- /usr/src/cache:/usr/src/cache
- /usr/src/keys:/usr/src/keys
- /var/run/docker.sock:/var/run/docker.sock
- ${HOST_GCS_KEY_PATH:-/etc/sa_secret/sa_key.json}:/etc/sa_secret/sa_key.json
environment:
- IN_DOCKER=true
- CACHE_DIR=/usr/src/cache
- SCCACHE_CACHE_SIZE=50g
- SCCACHE_GCS_BUCKET=sccache-zksync-ci
- SCCACHE_GCS_KEY_PATH=/etc/sa_secret/sa_key.json
- SCCACHE_GCS_RW_MODE=READ_WRITE
- CI=1