GithubHelp home page GithubHelp logo

spaceh3ad / chainlink-node-docker-compose Goto Github PK

View Code? Open in Web Editor NEW

This project forked from koslib/chainlink-docker-compose

0.0 0.0 0.0 4 KB

Simple docker-compose-based project to get quickly up and running a Chainlink node

License: MIT License

Shell 53.83% Dockerfile 46.17%

chainlink-node-docker-compose's Introduction

chainlink-docker-compose

Simple docker-compose-based project to get quickly up and running a Chainlink node. This is intended mainly for development use, or at least should be enough to get you started with a working-as-is repository. However, it assumes basic Docker skills.

How to use

  1. Clone repository
git clone https://github.com/koslib/chainlink-docker-compose
  1. Review chainlink.env and adapt accordingly. The committed environment file uses Rinkeby testnet. Also, the example uses Linkpool's public Ethereum service node.

  2. Build and run with docker-compose

  • Build with default values, which you can adapt if needed inside the Dockerfile
docker-compose up --build
  • First build with your own build args and then run:
$ docker-compose build --build-arg [email protected]

$ docker-compose up
  1. Browse to localhost:6688 and log in with your credentials.

Default credentials:

  • username: [email protected]
  • password: PA@SSword1234!567
  • wallet password: PA@SSword1234!567

Run with your own Ethereum local node

  1. Add the following into docker-compose.yaml:
  • Service:
ethereum:
    image: ethereum/client-go:v1.10.1
    ports:
      - 8546:8546
    command: --ropsten --syncmode light --ws --ipcdisable --ws.addr 0.0.0.0 --ws.origins="*" --datadir /geth
    volumes: 
      - geth:/geth
  • Volume:
geth:

So the end result would be:

volumes: 
  geth:
  db-data:
  chainlink_data:
  1. Change ETH_URL inside chainlink.env to:
ETH_URL=ws://ethereum:8546
  1. Run again:
$ docker-compose up --build

Disclaimer

This is a basic setup to quickly get you up and running with a Chainlink local node for development. Please acknolwedge that this setup does not take into account any node security nor high-availability (HA) settings, therefore cannot be used in production as is.

Contributions

Feel free to open issues with questions or send in PRs in case you have an idea!

Licence

MIT Licence

chainlink-node-docker-compose's People

Contributors

spaceh3ad avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.