You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _install-and-configure/configuring-opensearch/availability-recovery.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,9 +29,9 @@ OpenSearch supports the following snapshot settings:
29
29
30
30
For security-related snapshot settings, see [Security settings]({{site.url}}{{site.baseurl}}/install-and-configure/configuring-opensearch/security-settings/).
31
31
32
-
### File system settings
32
+
### Shared file system
33
33
34
-
For information about file system settings, see [Shared file system]({{site.url}}{{site.baseurl}}/tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore/#shared-file-system).
34
+
For information about using a shared file system, see [Shared file system]({{site.url}}{{site.baseurl}}/tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore/#shared-file-system).
Copy file name to clipboardExpand all lines: _install-and-configure/configuring-opensearch/index.md
+12-11Lines changed: 12 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,13 +23,13 @@ Whenever possible, use the Cluster Settings API; `opensearch.yml` is local to ea
23
23
24
24
Certain operations are static and require you to modify the `opensearch.yml`[configuration file](#configuration-file) and restart the cluster. In general, these settings relate to networking, cluster formation, and the local file system. To learn more, see [Cluster formation]({{site.url}}{{site.baseurl}}/opensearch/cluster/).
25
25
26
-
## Specifying settings as environment variables
26
+
## Specifying configuration settings at startup
27
27
28
-
You can specify environment variables in the following ways.
28
+
You can specify configuration settings in the following ways.
29
29
30
-
### Arguments at startup
30
+
### Flags at startup
31
31
32
-
You can specify environment variables as arguments using `-E` when launching OpenSearch:
32
+
You can pass the configuration directly to the JVM process at startup using the `-E` flag when launching OpenSearch:
@@ -148,12 +148,13 @@ The demo configuration includes a number of [settings for the Security plugin]({
148
148
149
149
### (Optional) CORS header configuration
150
150
151
-
If you are working on a client application running against an OpenSearch cluster on a different domain, you can configure headers in `opensearch.yml` to allow for developing a local application on the same machine. Use [Cross Origin Resource Sharing](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) so that your application can make calls to the OpenSearch API running locally. Add the following lines in your `custom-opensearch.yml` file (note that the "-" must be the first character in each line).
151
+
If you are working on a client application running against an OpenSearch cluster on a different domain, you can configure headers in `opensearch.yml` to allow for developing a local application on the same machine. Use [Cross-Origin Resource Sharing](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) so that your application can make calls to the OpenSearch API running locally. Add the following lines in your `custom-opensearch.yml` file:
Copy file name to clipboardExpand all lines: _install-and-configure/install-dashboards/docker.md
+76-4Lines changed: 76 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,17 +8,89 @@ redirect_from:
8
8
- /opensearch/install/docker-security/
9
9
---
10
10
11
-
# Run OpenSearch Dashboards using Docker
11
+
# Run OpenSearch Dashboards using Docker and Docker Compose
12
12
13
-
You *can* start OpenSearch Dashboards using `docker run` after [creating a Docker network](https://docs.docker.com/engine/reference/commandline/network_create/) and starting OpenSearch, but the process of connecting OpenSearch Dashboards to OpenSearch is significantly easier with a Docker Compose file.
13
+
You can use either Docker or Docker Compose to run OpenSearch Dashboards. The Docker Compose method is easier because you can define the entire configuration in a single file.
14
14
15
-
1. Run `docker pull opensearchproject/opensearch-dashboards:2`.
15
+
## Run OpenSearch Dashboards using Docker
16
+
17
+
If you have defined your network using `docker network create os-net` and started OpenSearch using the following command:
Use the following steps to run OpenSearch Dashboards using Docker Compose:
16
64
17
65
1. Create a [`docker-compose.yml`](https://docs.docker.com/compose/compose-file/) file appropriate for your environment. A sample file that includes OpenSearch Dashboards is available on the OpenSearch [Docker installation page]({{site.url}}{{site.baseurl}}/opensearch/install/docker#sample-docker-composeyml).
18
66
19
-
Just like `opensearch.yml`, you can pass a custom `opensearch_dashboards.yml` to the container in the Docker Compose file.
67
+
You can pass a custom `opensearch_dashboards.yml`file to the container in the Docker Compose file. For more information, see [Complete Docker Compose example with custom configuration]({{site.url}}{{site.baseurl}}/install-and-configure/install-opensearch/docker/#complete-docker-compose-example-with-custom-configuration).
The `opensearch.hosts` setting must be configured if you are not passing it as an environment variable. For an example of how to configure this setting, see [Complete Docker Compose example with custom configuration]({{site.url}}{{site.baseurl}}/install-and-configure/install-opensearch/docker/#complete-docker-compose-example-with-custom-configuration).
92
+
{: .note}
93
+
22
94
1. Run `docker compose up`.
23
95
24
96
Wait for the containers to start. Then see the [OpenSearch Dashboards documentation]({{site.url}}{{site.baseurl}}/dashboards/index/).
Copy file name to clipboardExpand all lines: _install-and-configure/install-dashboards/helm.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ redirect_from:
11
11
12
12
Helm is a package manager that allows you to easily install and manage OpenSearch Dashboards in a Kubernetes cluster. You can define your OpenSearch configurations in a YAML file and use Helm to deploy your applications in a version-controlled and reproducible way.
13
13
14
-
The Helm chart contains the resources described in the following table.
14
+
The [Helm chart](https://github.com/opensearch-project/helm-charts) contains the resources described in the following table.
Copy file name to clipboardExpand all lines: _install-and-configure/install-opensearch/docker.md
+156-1Lines changed: 156 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -497,12 +497,167 @@ For a full list of settings, see [Security]({{site.url}}{{site.baseurl}}/securit
497
497
498
498
Use the same process to specify a [Backend configuration]({{site.url}}{{site.baseurl}}/security/configuration/configuration/) in`/usr/share/opensearch/config/opensearch-security/config.yml` as well as new internal users, roles, mappings, action groups, and tenants in their respective [YAML files]({{site.url}}{{site.baseurl}}/security/configuration/yaml/).
499
499
500
-
After replacing the certificates and creating your own internal users, roles, mappings, action groups, and tenants, use Docker Compose to start the cluster:
500
+
#### Complete Docker Compose example with custom configuration
501
+
502
+
After creating your own certificates, `internal_users.yml`, `roles.yml`, `roles_mapping.yml`, and the rest of the security configuration files, your `docker-compose.yaml` file should appear similar to the following:
The password forthe `admin` user providedin the `.env` file is overridden by the password provided in the `internal_users.yml` file.
659
+
{: .note}
660
+
506
661
### Working with plugins
507
662
508
663
To use the OpenSearch image with a custom plugin, you must first create a [`Dockerfile`](https://docs.docker.com/engine/reference/builder/). Review the official Docker documentation for information about creating a Dockerfile.
Copy file name to clipboardExpand all lines: _install-and-configure/install-opensearch/helm.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ redirect_from:
11
11
12
12
Helm is a package manager that allows you to easily install and manage OpenSearch in a Kubernetes cluster. You can define your OpenSearch configurations in a YAML file and use Helm to deploy your applications in a version-controlled and reproducible way.
13
13
14
-
The Helm chart contains the resources described in the following table.
14
+
The [Helm chart](https://github.com/opensearch-project/helm-charts) contains the resources described in the following table.
0 commit comments