Currently, most of the relevant parameters for Cortex can be passed as environment variables. However, ES credentials need to be passed through configuration file which in a CI/CD pipeline may not be practical if we want to avoid custom containers.
It should also be possible to parameterize the index through environment variables so that the user can have a dev and prod env for Cortex. Otherwise, if i have two instances of Cortex, they will write to the same ES index.
Possible Solutions
Adjust Docker entrypoint code to allow the following variables:
Request Type
Feature Request
Work Environment
Problem Description
Currently, most of the relevant parameters for Cortex can be passed as environment variables. However, ES credentials need to be passed through configuration file which in a CI/CD pipeline may not be practical if we want to avoid custom containers.
It should also be possible to parameterize the index through environment variables so that the user can have a dev and prod env for Cortex. Otherwise, if i have two instances of Cortex, they will write to the same ES index.
Possible Solutions
Adjust Docker entrypoint code to allow the following variables: