Merge pull request #342 from AMoo-Miki/separate-os-osd-versions
Separate OpenSearch Dashboards version from that of OpenSearch
This commit is contained in:
commit
209a22689a
|
@ -6,6 +6,7 @@ url: "https://opensearch.org" # the base hostname & protocol for your site, e.g.
|
|||
permalink: /:path/
|
||||
|
||||
opensearch_version: 1.2.3
|
||||
opensearch_dashboards_version: 1.2.0
|
||||
opensearch_major_minor_version: 1.2
|
||||
lucene_version: 8_9_0
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ nav_order: 1
|
|||
|
||||
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.
|
||||
|
||||
1. Run `docker pull opensearchproject/opensearch-dashboards:{{site.opensearch_version}}`.
|
||||
1. Run `docker pull opensearchproject/opensearch-dashboards:{{site.opensearch_dashboards_version}}`.
|
||||
|
||||
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-compose-file).
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@ services:
|
|||
networks:
|
||||
- opensearch-net
|
||||
opensearch-dashboards
|
||||
image: opensearchproject/opensearch-dashboards:{{site.opensearch_version}}
|
||||
image: opensearchproject/opensearch-dashboards:{{site.opensearch_dashboards_version}}
|
||||
container_name: opensearch-dashboards
|
||||
ports:
|
||||
- 5601:5601
|
||||
|
|
|
@ -11,7 +11,7 @@ You can pull the OpenSearch Docker image just like any other image:
|
|||
|
||||
```bash
|
||||
docker pull opensearchproject/opensearch:{{site.opensearch_version}}
|
||||
docker pull opensearchproject/opensearch-dashboards:{{site.opensearch_version}}
|
||||
docker pull opensearchproject/opensearch-dashboards:{{site.opensearch_dashboards_version}}
|
||||
```
|
||||
|
||||
To check available versions, see [Docker Hub](https://hub.docker.com/u/opensearchproject).
|
||||
|
@ -131,7 +131,7 @@ services:
|
|||
networks:
|
||||
- opensearch-net
|
||||
opensearch-dashboards:
|
||||
image: opensearchproject/opensearch-dashboards:{{site.opensearch_version}}
|
||||
image: opensearchproject/opensearch-dashboards:{{site.opensearch_dashboards_version}}
|
||||
container_name: opensearch-dashboards
|
||||
ports:
|
||||
- 5601:5601
|
||||
|
@ -359,7 +359,7 @@ services:
|
|||
- opensearch-net
|
||||
|
||||
opensearch-dashboards:
|
||||
image: opensearchproject/opensearch-dashboards:{{site.opensearch_version}}
|
||||
image: opensearchproject/opensearch-dashboards:{{site.opensearch_dashboards_version}}
|
||||
container_name: opensearch-dashboards
|
||||
ports:
|
||||
- 5601:5601
|
||||
|
|
|
@ -36,7 +36,7 @@ If you disable the security plugin in `opensearch.yml` (or delete the plugin ent
|
|||
1. Create a new `Dockerfile`:
|
||||
|
||||
```
|
||||
FROM opensearchproject/opensearch-dashboards:{{site.opensearch_version}}
|
||||
FROM opensearchproject/opensearch-dashboards:{{site.opensearch_dashboards_version}}
|
||||
RUN /usr/share/opensearch-dashboards/bin/opensearch-dashboards-plugin remove securityDashboards
|
||||
COPY --chown=opensearch-dashboards:opensearch-dashboards opensearch_dashboards.yml /usr/share/opensearch-dashboards/config/
|
||||
```
|
||||
|
@ -57,6 +57,6 @@ If you disable the security plugin in `opensearch.yml` (or delete the plugin ent
|
|||
docker build --tag=opensearch-dashboards-no-security .
|
||||
```
|
||||
|
||||
1. In `docker-compose.yml`, change `opensearchproject/opensearch-dashboards:{{site.opensearch_version}}` to `opensearch-dashboards-no-security`.
|
||||
1. In `docker-compose.yml`, change `opensearchproject/opensearch-dashboards:{{site.opensearch_dashboards_version}}` to `opensearch-dashboards-no-security`.
|
||||
1. Change `OPENSEARCH_HOSTS` or `opensearch.hosts` to `http://` rather than `https://`.
|
||||
1. Enter `docker-compose up`.
|
||||
|
|
Loading…
Reference in New Issue