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: Using-Docker.md
+10-4
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ First the plugin must be build using the `yarn build` command.
6
6
7
7
Once this build was completed - the expected zip location of the plugin is `./build/observabilityDashboards-?.?.?.zip` where as the `?.?.?` represents the version of this dashboard plugin.
8
8
9
-
> Note that the plugin version must correspond to the OpenSearch-Dashboards version - this information appears [here](opensearch_dashboards.json)
9
+
> Note: that the plugin version must correspond to the OpenSearch-Dashboards version - this information appears [here](opensearch_dashboards.json)
10
10
>
11
11
12
12
Once the build is completed, make sure to overide the [Dockerfile](Dockerfile) target zip file with the exact name
@@ -16,17 +16,22 @@ RUN /usr/share/opensearch-dashboards/bin/opensearch-dashboards-plugin install fi
16
16
```
17
17
18
18
## Docker imageVersion
19
-
The docker images used by this file are all referencing the [.env](.env) environment file that contains the version and user/password fields that need to be changed to match your own system.
19
+
The docker images used by this file are all referencing the [.env](.env) environment file that contains the version that needed to be changed to match your own system.
The [docker-compose](docker-compose.yml) file represents a simple assembly of an OpenSearch cluster with two nodes and an opensearch dashboard that has the updated image with the latest changes in this plugin.
27
+
> This is a test only docker compose that should not be used for production purpose - for such use cases please review this [link](https://opensearch.org/docs/latest/install-and-configure/install-opensearch/docker/)
27
28
29
+
### Option 1 (All from docker)
28
30
run `docker compose up -d` to start the services and once the service is up and running you can start testing the changes.
29
31
32
+
### Option 2 (Combined Docker & Dashboard)
33
+
run `docker compose up -d opensearch` to only run the OpenSearch engine - in this case the dashboard has to be run manualy using `yarn start --no-base-path` command in the root dashboards path `./OpenSearch-Dashboards/`
34
+
30
35
> Note that the OpenSearch version also must correspond to the OpenSearch-Dashboards version
31
36
32
37
## Accessing the Dashboard
@@ -37,5 +42,6 @@ The dashboard service uses port `localhost:5601` for access and this was already
37
42
```
38
43
39
44
## Security Notice
40
-
The default User:Password for this demo test is embedded within the [.env](.env) environment file - pay attention not to use this configuration in a production or any environment that may contain
41
-
confident or personal information without first changing the security definition for accessing the servers.
45
+
There is no security plugin and authentication definitions for this development test demo - pay attention not to use this configuration in a production or any environment that may contain
46
+
confident or personal information without first changing the security definition for accessing the servers - for production use cases please review this [link](https://opensearch.org/docs/latest/install-and-configure/install-opensearch/docker/)
OPENSEARCH_HOSTS: '["https://opensearch-node1:9200","https://opensearch-node2:9200"]'# Define the OpenSearch nodes that OpenSearch Dashboards will query
0 commit comments