From 119b9e79ec8d757a097ac164b00aaf7b3ca235cd Mon Sep 17 00:00:00 2001 From: aetter Date: Thu, 24 Jun 2021 13:23:11 -0700 Subject: [PATCH] Minor Docker improvements --- _opensearch/install/docker-security.md | 4 +++- _opensearch/install/docker.md | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/_opensearch/install/docker-security.md b/_opensearch/install/docker-security.md index 7b943229..b74400e9 100644 --- a/_opensearch/install/docker-security.md +++ b/_opensearch/install/docker-security.md @@ -7,10 +7,11 @@ nav_order: 5 # Docker security configuration -Before deploying to a production environment, you should replace the demo security certificates and configuration YAML files with your own. With the tarball, you have direct access to the file system, but the Docker image requires modifying the Docker storage volumes include the replacement files. +Before deploying to a production environment, you should replace the demo security certificates and configuration YAML files with your own. With the tarball, you have direct access to the file system, but the Docker image requires modifying the Docker storage volumes to include the replacement files. Additionally, you can set the Docker environment variable `DISABLE_INSTALL_DEMO_CONFIG` to `true`. This change completely disables the demo installer. + ## Sample Docker Compose file ```yml @@ -141,6 +142,7 @@ If you encounter any `File /usr/share/opensearch/config/opensearch.yml has insec Finally, you can reach OpenSearch Dashboards at http://localhost:5601, sign in, and use the **Security** panel to perform other management tasks. + ## Using certificates with Docker To use your own certificates in your configuration, add all of the necessary certificates to the volumes section of the Docker Compose file: diff --git a/_opensearch/install/docker.md b/_opensearch/install/docker.md index 16f4602f..4f989796 100644 --- a/_opensearch/install/docker.md +++ b/_opensearch/install/docker.md @@ -150,7 +150,7 @@ networks: opensearch-net: ``` -If you override `opensearch_dashboards.yml` settings using environment variables, as seen above, use all uppercase letters and periods in place of underscores (e.g. for `opensearch.url`, specify `OPENSEARCH_URL`). +If you override `opensearch_dashboards.yml` settings using environment variables, as seen above, use all uppercase letters and periods in place of underscores (e.g. for `opensearch.hosts`, use `OPENSEARCH_HOSTS`). {: .note}