Skip to content
This repository was archived by the owner on Aug 8, 2019. It is now read-only.

Commit 6d28f97

Browse files
committed
Initial commit with container
0 parents  commit 6d28f97

3 files changed

Lines changed: 52 additions & 0 deletions

File tree

.env.example

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Chainlink Variables
2+
LOG_LEVEL=info
3+
ROOT=~/.chainlink
4+
PORT=6688
5+
USERNAME=chainlink
6+
PASSWORD=twochains
7+
8+
# ETH Variables
9+
ETH_URL=ws://localhost:8546
10+
ETH_CHAIN_ID=0
11+
ETH_GAS_BUMP_THRESHOLD=12
12+
ETH_MIN_CONFIRMATIONS=12
13+
ETH_GAS_BUMP_WEI=5000000000
14+
ETH_GAS_PRICE_DEFAULT=20000000000

Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM golang:1.10-alpine
2+
3+
WORKDIR /go/src/app
4+
ADD chainlink/ .
5+
6+
RUN apk add --no-cache gcc musl-dev git openssl bzr \
7+
&& go get -u github.com/golang/dep/cmd/dep
8+
9+
RUN go get -u github.com/smartcontractkit/chainlink
10+
11+
RUN dep ensure
12+
RUN go build -o chainlink
13+
14+
CMD ["chainlink", "node"]

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Chainlink Docker Node
2+
Docker container for a Go Chainlink node.
3+
4+
**IMPORTANT:** If you're running this for a production node, it's important to change the password in your environment file.
5+
6+
## Dependencies
7+
- Docker (https://www.docker.com/)
8+
9+
## Usage
10+
Run the following command:
11+
12+
``` bash
13+
docker run --env-file=.env -p 6688:6888 -it linkpoolio/chainlink-node
14+
```
15+
16+
## Configuration
17+
Refer to the official configuration wiki [here](https://github.com/smartcontractkit/chainlink#configure).
18+
19+
## Futher Reading
20+
For further information on how to interact with your node, read the following documentation:
21+
- Wiki (https://github.com/smartcontractkit/chainlink/wiki)
22+
- Github (https://github.com/smartcontractkit/chainlink)
23+
24+
Created by the [LinkPool](http://linkpool.io) Team.

0 commit comments

Comments
 (0)