Skip to content

Commit

Permalink
Switch to docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanBaulch committed Sep 3, 2024
1 parent d145125 commit 692e7d0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go-
- name: Run Docker containers
run: docker-compose up --detach
run: docker compose up --detach
env:
OSS_IMAGE: "${{ matrix.oss-image }}:${{ matrix.version }}"
ES_COMMAND: "${{matrix.ES_COMMAND}}"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ export ES_KIBANA_IMAGE=""
export OPENSEARCH_PREFIX="plugins.security"
export OSS_ENV_VAR="plugins.security.disabled=true"
export XPACK_IMAGE="docker.elastic.co/elasticsearch/elasticsearch:7.10.1"
docker-compose up -d
docker-compose ps -a
docker compose up -d
docker compose ps -a
```

When running tests, ensure that your test/debug profile has environmental variables as below:
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/rollover.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ resource "elasticsearch_index" "test" {

```sh
$ export ES_OSS_IMAGE=elasticsearch:7.9.2
$ docker-compose up -d elasticsearch
$ docker compose up -d elasticsearch
Creating network "terraform-provider-elasticsearch_default" with the default driver
Creating terraform-provider-elasticsearch_elasticsearch_1 ... done
```
Expand Down

0 comments on commit 692e7d0

Please sign in to comment.