Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker add config tool #367

Open
dszlachta opened this issue Nov 28, 2022 · 0 comments
Open

docker add config tool #367

dszlachta opened this issue Nov 28, 2022 · 0 comments

Comments

@dszlachta
Copy link
Collaborator

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.

@tjayrush tjayrush changed the title Add config tool docker add config tool Jan 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants