docker add config tool
We already have config tool in our DAppNode repo, we can move it here to be integral part of our Docker image. However, there are some features missing in the UI:
running chifra init on demand Missing:
- process management
start/stop scrapers Missing:
- process management
- recovery on error
- auto-start when container starts
- error reporting
show status of each component
visualize index Missing:
- UI (can be ported from Explorer)
I think it would be good to use Supervisord for process management, recovery on error and auto-start. Although these features could be also implemented in Go, as our custom code, they may require a lot of additional work (e.g. implementing restarting with backoff mechanism). Additionally, starting a detached process, stopping it and redirecting its output is already a part of Supervisord. It seems like we would only have to keep track of enabled scrapers, so that we can restart them after the container has been turned off and on.