-
Notifications
You must be signed in to change notification settings - Fork 1
/
chainlink-ocr.yml
48 lines (48 loc) · 1.63 KB
/
chainlink-ocr.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
version: '3.4'
services:
chainlink:
restart: ${RESTART}
user: chainlink
build:
context: ./chainlink
args:
- USER=chainlink
- DOCKER_TAG=${CHAIN_DOCKER_TAG}
image: chainlink:local
env_file: chainlink-ocr.env
depends_on:
- eth-proxy
environment:
- LOG_LEVEL=${LOG_LEVEL}
- ETH_CHAIN_ID=${NETWORK_ID}
- LINK_CONTRACT_ADDRESS=${LINK_CONTRACT_ADDRESS}
- ETH_URL=ws://eth-proxy:4000/
- CHAINLINK_PORT=${CHAIN_PORT}
- CHAINLINK_TLS_PORT=${CHAIN_TLS_PORT}
- DATABASE_URL=${PGSQL_URL}
- MINIMUM_CONTRACT_PAYMENT=${MIN_PAY}
- CLIENT_NODE_URL=https://localhost:${CHAIN_TLS_PORT}
- P2P_ANNOUNCE_IP=${P2P_ANNOUNCE_IP}
- P2P_ANNOUNCE_PORT=${P2P_ANNOUNCE_PORT}
- P2P_LISTEN_PORT=${P2P_ANNOUNCE_PORT}
- P2P_BOOTSTRAP_PEERS=${P2P_BOOTSTRAP_PEERS}
- OCR_TRANSMITTER_ADDRESS=${OCR_TRANSMITTER_ADDRESS}
- OCR_KEY_BUNDLE_ID=${OCR_KEY_BUNDLE_ID}
ports:
- ${CHAIN_PORT}:${CHAIN_PORT}/tcp
- ${CHAIN_TLS_PORT}:${CHAIN_TLS_PORT}/tcp
- ${P2P_ANNOUNCE_PORT}:${P2P_ANNOUNCE_PORT}/tcp
volumes:
- chainlink-data:/var/lib/chainlink/
- ./.secrets:/secrets
entrypoint: wait-for-pgsql.sh ${PGSQL_URL} chainlink
command: node start --api /secrets/apicredentials.txt --password /secrets/wallet-password.txt
eth-proxy:
restart: ${RESTART}
image: fiews/cl-eth-failover
volumes:
- eth-proxy:/var/eth-proxy/
entrypoint: /bin/sh -c "node index.js ${ETH_NODE_1} ${ETH_NODE_2} ${ETH_NODE_3} ${ETH_NODE_4} 2>&1 | tee /var/eth-proxy/eth-proxy.log"
volumes:
chainlink-data:
eth-proxy: