forked from rafaiovlabs/ri-aggregation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-runner.yml
46 lines (42 loc) · 1.05 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
#ports will not be visible to zk container so this is just to build the image
rskj:
build:
context: ./docker/rskj
ports:
- "4444:4444"
- "4445:4445"
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:
build:
context: ./docker/zk-environment
depends_on:
- postgres
- rskj
- 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
environment:
- IN_DOCKER=true
- CACHE_DIR=/usr/src/cache
- SCCACHE_CACHE_SIZE=50g
- CI=1
#network_mode : "host" #container uses docker env for network