Skip to content

Commit 337fb3c

Browse files
committed
Pin Opensearch versions for local instance
Why these changes are being introduced: We formerly documented and used the tag ':latest' for standing up a local Opensearch instance, but this has the potential to pull a newer version than we currently have in AWS. How this addresses that need: * Pins references in README and Docker Compose YAML to version 2 * Will require updates when we eventually migrate to version 3 Side effects of this change: * Build Opensearch 2.x locally for testing and development Relevant ticket(s): * None
1 parent e21ac67 commit 337fb3c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ TIMDEX! Index Manager (TIM) is a Python CLI application for managing TIMDEX indi
2121
``` bash
2222
docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" \
2323
-e "plugins.security.disabled=true" \
24-
opensearchproject/opensearch:2.11.1
24+
opensearchproject/opensearch:2
2525
```
2626

2727
2. To confirm the instance is up, run `pipenv run tim -u localhost ping` or visit http://localhost:9200/. This should produce a log that looks like the following:
@@ -54,8 +54,8 @@ OPENSEARCH_INITIAL_ADMIN_PASSWORD=SuperSecret42!
5454
1. Run the following command:
5555

5656
```shell
57-
docker pull opensearchproject/opensearch:latest
58-
docker pull opensearchproject/opensearch-dashboards:latest
57+
docker pull opensearchproject/opensearch:2
58+
docker pull opensearchproject/opensearch-dashboards:2
5959
docker compose up
6060
```
6161

compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
opensearch:
3-
image: opensearchproject/opensearch:latest
3+
image: opensearchproject/opensearch:2
44
ports:
55
- "9200:9200"
66
- "9600:9600"
@@ -15,7 +15,7 @@ services:
1515
networks:
1616
- opensearch-local-net
1717
dashboard:
18-
image: opensearchproject/opensearch-dashboards:latest
18+
image: opensearchproject/opensearch-dashboards:2
1919
ports:
2020
- "5601:5601"
2121
environment:

0 commit comments

Comments
 (0)