-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
62 lines (54 loc) · 1.16 KB
/
docker-compose.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: "3.7"
volumes:
solidity_compilers: {}
vyper_compilers: {}
brownie: {}
x-common-volumes: &common-volumes
- solidity_compilers:/root/.solcx
- vyper_compilers:/root/.vvm
- brownie:/root/.brownie
- $PWD/tls:/app/hash-brownie/tls
- $PWD/data:/app/hash-brownie/data
x-common-envs: &common-envs
- USE_TLS: "False"
- GRPC_POLL_STRATEGY: "poll"
- DATA_DIR: /app/hash-brownie/data
- BOOTSTRAP_URL:
- LOG_LEVEL:
x-common-eth-envs: &common-eth-envs
- WEB3_PROVIDER:
- EXPLORER:
- NETWORK: mainnet
- ETHERSCAN_TOKEN:
x-common-ftm-envs: &common-ftm-envs
- NETWORK: ftm-main
- WEB3_PROVIDER: $FTM_WEB3_PROVIDER
- EXPLORER: $FTM_EXPLORER
- FTMSCAN_TOKEN:
networks:
hash-brownie:
services:
eth:
build: .
image: hash-brownie
volumes: *common-volumes
environment:
<<: *common-envs
<<: *common-eth-envs
ports:
- 1337:1337
networks:
- hash-brownie
restart: on-failure
ftm:
build: .
image: hash-brownie
volumes: *common-volumes
environment:
<<: *common-envs
<<: *common-ftm-envs
ports:
- 1338:1337
networks:
- hash-brownie
restart: on-failure