Skip to content

Commit 6a7dec2

Browse files
AntonEliatrakolchfa-awsnatebower
authored andcommitted
adding clarification on quick start docs (opensearch-project#10722)
* adding clarification on quick start docs Signed-off-by: Anton Rubin <anton.rubin@eliatra.com> * Apply suggestions from code review Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Signed-off-by: AntonEliatra <anton.rubin@eliatra.com> * Update _getting-started/quickstart.md Signed-off-by: Nathan Bower <nbower@amazon.com> --------- Signed-off-by: Anton Rubin <anton.rubin@eliatra.com> Signed-off-by: AntonEliatra <anton.rubin@eliatra.com> Signed-off-by: Nathan Bower <nbower@amazon.com> Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Co-authored-by: Nathan Bower <nbower@amazon.com>
1 parent a0f2cd5 commit 6a7dec2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

_getting-started/quickstart.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,14 @@ This configuration enables security using demo certificates and requires additio
167167
```
168168
{% include copy.html %}
169169
170-
1. In your terminal application, navigate to the directory containing the `docker-compose.yml` file you downloaded, [set up a custom admin password]({{site.url}}{{site.baseurl}}/install-and-configure/install-opensearch/docker/#setting-a-custom-admin-password), and run the following command to create and start the cluster as a background process:
170+
1. First, create a custom admin password. Create (or edit) a `.env` file in the same directory as your `docker-compose.yml` file. This file stores environment variables that Docker Compose automatically reads when starting the containers. Add the following line to define the admin password:
171+
172+
```bash
173+
OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password>
174+
```
175+
{% include copy.html %}
176+
177+
1. In your terminal application, navigate to the directory containing the `docker-compose.yml` file you downloaded and run the following command to create and start the cluster as a background process:
171178
172179
```bash
173180
docker compose up -d

0 commit comments

Comments
 (0)