forked from smartcontractkit/chainlink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
53 lines (48 loc) · 1.26 KB
/
docker-compose.yaml
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
version: '3.1'
services:
geth:
image: ethereum/client-go
restart: on-failure
command: --dev --mine --networkid 17 --wsorigins "*" --ws --dev.period 2 --wsaddr 172.16.1.100 --wsport 18546 --datadir /root/gethnet/datadir --unlock "0x9ca9d2d5e04012c9ed24c0e513c9bfaa4a2dd77f" --ipcdisable --password /run/secrets/node_password
volumes:
- ./internal/gethnet/:/root/gethnet
networks:
gethnet:
ipv4_address: 172.16.1.100
ports: []
secrets:
- node_password
chainlink:
image: smartcontract/chainlink
command: node -d -p /run/secrets/node_password
restart: on-failure
volumes:
- ./internal/clroot/:/root/clroot
environment:
- LOG_LEVEL=debug
- ROOT=/root/clroot
- ETH_URL=ws://172.16.1.100:18546
- ETH_CHAIN_ID=17
- MIN_OUTGOING_CONFIRMATIONS=2
- MINIMUM_CONTRACT_PAYMENT=1000000000000
- RUST_BACKTRACE=1
- CHAINLINK_DEV=true
networks:
gethnet:
ipv4_address: 172.16.1.101
depends_on:
- geth
ports:
- 6688:6688
secrets:
- node_password
networks:
gethnet:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.16.1.0/24
secrets:
node_password:
file: ./internal/clroot/password.txt