forked from fetchai/fetch-ethereum-bridge-v1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (44 loc) · 1.2 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
version: "3.3"
services:
ganache:
image: trufflesuite/ganache-cli:v6.12.2
command: --chainId 1337
ports:
- "8545:8545"
ethereum:
build:
context: ethereum
dockerfile: docker/Dockerfile
deploy:
restart_policy:
condition: on-failure
delay: 3s
max_attempts: 5
window: 60s
volumes:
- test_config:/config:rw
environment:
LEDGERHOSTNAME: ganache
fetch:
build:
context: fetch
dockerfile: ledger/contractdeploy.Dockerfile
entrypoint: sleep 7200
environment:
FETCHMNEMONIC: "nut grocery slice visit barrel peanut tumble patch slim logic install evidence fiction shield rich brown around arrest fresh position animal butter forget cost"
fetchledger:
build:
context: fetch/ledger
dockerfile: Dockerfile
environment:
FETCHMNEMONIC: "nut grocery slice visit barrel peanut tumble patch slim logic install evidence fiction shield rich brown around arrest fresh position animal butter forget cost"
ports:
- "26657:26657"
- "1317:1317"
volumes:
test_config:
driver: local
driver_opts:
type: none
device: $PWD/ethereum/scripts
o: bind