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

Specify config file as parameter #491

Closed
Blackglade opened this issue May 4, 2021 · 2 comments · Fixed by #824
Closed

Specify config file as parameter #491

Blackglade opened this issue May 4, 2021 · 2 comments · Fixed by #824

Comments

@Blackglade
Copy link

Summary

It would be nice if I were able to specify the config file location in the indexer daemon. Being able to do something like:

./algorand-indexer daemon -f ~/node/indexer.yml

Current the only work around is to call the daemon directly from the directory where the config file is located.

Urgency/Relative Priority

Medium

@barnjamin
Copy link
Contributor

barnjamin commented May 4, 2021

https://github.com/algorand/indexer/blob/develop/config/config.go#L23 looks like there are a few spots it could be read from

@Blackglade
Copy link
Author

I'm aware of those options. That is however limiting in functionality as based on the individual developers directory/file structure, those areas may not be a convenient place to put the indexer config file. The ask is to open this up to allow for greater customizability by being able to specify the config file location when the process starts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants