(feature) elastic search provisioner
Added three new docker containers to our docker-compose file.
elasticsearch-legacy, elasticsearch-legacy-provisioner and elasticsearch-provisioner
elasticsearch-legacy is elastic search legacy with a custom init script that deletes the data share where elastic searches indexes are stored on boot.
elasticsearch-legacy-provisioner depends on elasticsearch-legacy, waits for it to spin up, and then cURLs the legacy schema. Then it spins down and kills the legacy.
elasticsearch-legacy depends on the existing elasticsearch. It just spins up and runs the schemas and keeps going. Adding new schema is as simple as adding the schema and a curl command.
Edited by Brian Hatchet