Skip to content

Commit 2c5f0cc

Browse files
committed
Update local opensearch Makefile commands
1 parent 37c30fe commit 2c5f0cc

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Makefile

+8-4
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,11 @@ publish-stage:
9696
# Local Opensearch commands
9797
##############################
9898

99-
local-opensearch: # Run a local instance of Opensearch via Docker Compose
100-
docker pull opensearchproject/opensearch:latest
101-
docker pull opensearchproject/opensearch-dashboards:latest
102-
docker compose --env-file .env up
99+
local-opensearch-start: # Start local instance of Opensearch
100+
docker compose --env-file .env up
101+
102+
local-opensearch-stop: # Stop local instance of Opensearch
103+
docker compose --env-file .env stop
104+
105+
local-opensearch-teardown: # Teardown local instance of Opensearch (includes data volume)
106+
docker compose --env-file .env down -v

0 commit comments

Comments
 (0)