lightstreams-network / lightchain

Fast proof-of-authority blockchain based on go-ethereum and tendermint
https://lightstreams.network
GNU General Public License v3.0
55 stars 16 forks source link

Make docker file production ready #171

Closed EnchanterIO closed 5 years ago

EnchanterIO commented 5 years ago

Description

In order to support lightchain usage we should have a valid, production ready docker file.

Currently, there are several problems with our existing Docker image. The network argument is not configurable, the data exist only in memory (which may be catastrophic in case u create an account, receive funds, shutdown the node and loose a private key) etc.

Inspiration how go-ethereum docker file looks like and its usage: https://github.com/ethereum/go-ethereum/#docker-quick-start

Steps to resolve

  1. Make datadir mountable, persistent
  2. Make network configurable (standalone, sirius, mainnet)
  3. Remove the --force flag
  4. Don't force RPC usage
EnchanterIO commented 5 years ago

Done and published: https://hub.docker.com/r/lightstreams/lightchain