-
Notifications
You must be signed in to change notification settings - Fork 916
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
[BUG] Docker image not respecting environment variables #328
Labels
bug
Something isn't working
Comments
@aetter What was the resolution here? |
@dblock I pulled the image around noon, and independent of this bug report, @peterzhuamazon pushed a new image with a fix a few hours later. |
SuZhou-Joe
added a commit
to SuZhou-Joe/OpenSearch-Dashboards
that referenced
this issue
Apr 17, 2024
* feat: workspace level ui settings When getting ui settings within a workspace, it will combine the workspace ui settings with the global ui settings and workspace ui settings have higher priority if the same setting was defined in both places When updating ui settings within a workspace, it will update the workspace ui settings, the global ui settings will remain unchanged. Signed-off-by: Yulong Ruan <[email protected]> * fix WorkspaceAttribute type Signed-off-by: Yulong Ruan <[email protected]> * update based on PR comments Signed-off-by: Yulong Ruan <[email protected]> * add integration tests for workspace ui settings wrapper Signed-off-by: Yulong Ruan <[email protected]> * Update src/plugins/workspace/server/saved_objects/workspace_ui_settings_client_wrapper.ts Co-authored-by: SuZhou-Joe <[email protected]> * fix failed tests Signed-off-by: Yulong Ruan <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> Co-authored-by: SuZhou-Joe <[email protected]>
raintygao
pushed a commit
to raintygao/OpenSearch-Dashboards
that referenced
this issue
Apr 19, 2024
* feat: workspace level ui settings When getting ui settings within a workspace, it will combine the workspace ui settings with the global ui settings and workspace ui settings have higher priority if the same setting was defined in both places When updating ui settings within a workspace, it will update the workspace ui settings, the global ui settings will remain unchanged. Signed-off-by: Yulong Ruan <[email protected]> * fix WorkspaceAttribute type Signed-off-by: Yulong Ruan <[email protected]> * update based on PR comments Signed-off-by: Yulong Ruan <[email protected]> * add integration tests for workspace ui settings wrapper Signed-off-by: Yulong Ruan <[email protected]> * Update src/plugins/workspace/server/saved_objects/workspace_ui_settings_client_wrapper.ts Co-authored-by: SuZhou-Joe <[email protected]> * fix failed tests Signed-off-by: Yulong Ruan <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> Co-authored-by: SuZhou-Joe <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
With Docker, you have the option of overriding default values in
opensearch_dashboards.yml
with environment variables. That way, instead of passing a newopensearch_dashboards.yml
file to the container, you can just specify a few lines in your Docker Compose file. OpenSearch Dashboards appears to be ignoring environment variables currently.To Reproduce
docker-compose.yml
:docker-compose up
.opensearch_dashboards.yml
:docker-compose down -v
to stop the cluster.docker-compose.yml
with this:Note that there's now a
volumes
section to copy a new file over to the container.sample-opensearch_dashboards.yml
:docker-compose up
again.Expected behavior
Environment variables from Docker should override any settings in
opensearch_dashboards.yml
, provided they are specified in ALL_CAPS with underscores to separate words.OpenSearch Version
1.0.0-beta1
Dashboards Version
1.0.0-beta1
Plugins
Host/Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: