Docker Compose sample for Chainlink Node
$ git clone git@github.com:shiki-tak/chainlink-node.git
Create files by running:
# Move to repository root
$ cd chainlink-node
# Set api email & password
$ echo "user@example.com" > chainlink/data/.api
$ echo "password" >> chainlink/data/.api
# Set wallet password
$ echo "my_wallet_password" > chainlink/data/.password
# Copy .env file
$ cp chainlink/.env.sample chainlink/.env
Set the variables ETH_URL
& ETH_CHAIN_ID
in the .env
to your Ethereum client's URL & Chain ID.
Run the Docker images by running:
$ docker-compose up -d
$ docker exec -it chainlink chainlink local n -p /chainlink/.password -a /chainlink/.api
Open http://localhost:6688
.