OpenSearch-Dashboards
OpenSearch-Dashboards copied to clipboard
[BUG] Unable to override config values with ENV vars
Quoted from: https://opensearch.org/docs/latest/install-and-configure/install-opensearch/docker/
If you override opensearch_dashboards.yml settings using environment variables in your compose file, use all uppercase letters and replace periods with underscores (for example, for opensearch.hosts, use OPENSEARCH_HOSTS). This behavior is inconsistent with overriding opensearch.yml settings, where the conversion is just a change to the assignment operator (for example, discovery.type: single-node in opensearch.yml is defined as discovery.type=single-node in docker-compose.yml).
Using this passage from the website as a guide, I have tried to provide OPENSEARCHDASHOBOARDS_BRANDING_LOGO_DEFAULTURL and alternatively OPENSEARCH_DASHOBOARDS_BRANDING_LOGO_DEFAULT_URL both with no effect.
I need to override these values as my domain is generated and passed in by docker, and cannot be hardcoded into the opensearch_dashboards.yml config file.
Am I doing something wrong?
Expected behavior
I was hoping that my provided logo would show up, but it doesn't.
OpenSearch Version 2.5.0
Dashboards Version 2.5.0