Fixed Docker command with custom file path (#1860)
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com> Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
This commit is contained in:
parent
253ae34bd8
commit
f7ba853a85
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue