jlopp / statoshi

Bitcoin Core + StatsD integration
https://jlopp.github.io/statoshi/
MIT License
233 stars 26 forks source link

Dockerize Statoshi #1

Closed jlopp closed 7 years ago

jlopp commented 10 years ago

BOUNTY: Anyone who submits a working docker build for everything below will be paid $500 worth of BTC.

I want a docker container that installs:

  1. Statoshi fork of Bitcoin Core
  2. node.js
  3. forever
  4. statsd
  5. graphite
  6. carbon
  7. whisper
  8. apache / nginx
  9. memcached
  10. grafana 2.0
  11. The system metrics daemon

Installation & config instructions are at https://jlopp.github.io/statoshi/

Additionally, it would be preferable to compile, install, and run the Statoshi fork of Bitcoin Core before anything else, wait ~24 hours so that the blockchain finishes syncing, and then install and configure the rest of the software. Otherwise the initial syncing will be much slower and will store a bunch of useless metrics. As part of this, there is no need to configure the bitcoin.conf "blocknotify" hook until after the blockchain has finished syncing.

Basically, a docker image that creates a fully functional web site backed by a statoshi instance like you see on statoshi.info with just a click of a button to deploy it will satisfy the requirements for the posted bounty.

jlopp commented 9 years ago

Reference for setting up the grafana stack: https://github.com/grafana/grafana-docker-dev-env

Note that this is still installing Grafana 1.9 rather than 2.0. We want 2.0 (and don't need Elasticsearch with 2.0)

Reference for grafana 2.0: https://github.com/grafana/grafana/tree/master/docker/production

NamPNQ commented 9 years ago

Can i repair forever to supervisor and apache to nginx?

jlopp commented 9 years ago

Sure, so long as the entire stack works then I'm fine with swapping out those pieces.

gigq commented 8 years ago

Looks like someone tackled this in another repo.

https://github.com/ArtDodger/statoshi-lite