IDR/deployment

search configuration is overly verbose

Opened this issue · 0 comments

I'd suggest a refactoring of the lines:

https://github.com/IDR/deployment/pull/359/files#diff-4b5e0688f759e08318ded09e063f8c28241549014b4d5fb9b3525f04617eb285R135-R262

  • minimally providing a helper function would make the code more readable
  • perhaps running all the statements in one command would also reduce overhead
  • if those statements were in a script or helper, then that could be re-used elsewhere (e.g. in other dockers). however, a role would also be an option.