Skip to content

Commit

Permalink
Fixed Docker command with custom file path (opensearch-project#1860)
Browse files Browse the repository at this point in the history
Signed-off-by: JeffH-AWS <[email protected]>

Signed-off-by: JeffH-AWS <[email protected]>
  • Loading branch information
Jeff Huss authored Nov 14, 2022
1 parent 253ae34 commit f7ba853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _opensearch/install/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ If none of those files exist in your current directory, the `docker-compose` com
You can specify a custom file location and name when invoking `docker-compose` with the `-f` flag:
```bash
# Use a relative or absolute path to the file.
docker-compose up -f /path/to/your-file.yml
docker-compose -f /path/to/your-file.yml up
```

If this is your first time launching an OpenSearch cluster using Docker Compose, use the following example `docker-compose.yml` file. Save it in the home directory of your host and name it `docker-compose.yml`. This file will create a cluster that contains three containers: two containers running the OpenSearch service and a single container running OpenSearch Dashboards. These containers will communicate over a bridge network called `opensearch-net` and use two volumes, one for each OpenSearch node. Because this file does not explicitly disable the demo security configuration, self-signed TLS certificates are installed and internal users with default names and passwords are created.
Expand Down

0 comments on commit f7ba853

Please sign in to comment.