Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace default creds and update instructions #2501

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions _includes/downloads/opensearch-docker.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ The best way to try out OpenSearch is to use [Docker Compose](https://docs.docke
- **macOS & Windows**: In Docker _Preferences_ > _Resources_, set RAM to at least 4 GB.
- **Linux**: Ensure `vm.max_map_count` is set to at least 262144 as per the [documentation](/docs/opensearch/install/important-settings/).
2. Download [docker-compose.yml](/samples/docker-compose.yml) into your desired directory
3. Run `docker-compose up`
4. Have a nice coffee while everything is downloading and starting up
5. Navigate to [http://localhost:5601/](http://localhost:5601) for OpenSearch Dashboards
6. Login with the default username (`admin`) and password (`admin`)
3. Replace the admin password placeholder `< Admin password >` with your desired strong password
4. Run `docker-compose up`
5. Have a nice coffee while everything is downloading and starting up
6. Navigate to [http://localhost:5601/](http://localhost:5601) for OpenSearch Dashboards
7. Login with the default username (`admin`) and the password you passed in earlier (`< Admin password >`)
2 changes: 2 additions & 0 deletions samples/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ services:
- cluster.initial_cluster_manager_nodes=opensearch-node1,opensearch-node2
- bootstrap.memory_lock=true # along with the memlock settings below, disables swapping
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM
- "OPENSEARCH_INITIAL_ADMIN_PASSWORD=< Admin password >" # the initial admin password
ulimits:
memlock:
soft: -1
Expand All @@ -36,6 +37,7 @@ services:
- cluster.initial_cluster_manager_nodes=opensearch-node1,opensearch-node2
- bootstrap.memory_lock=true
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
- "OPENSEARCH_INITIAL_ADMIN_PASSWORD=< Admin password >"
ulimits:
memlock:
soft: -1
Expand Down