Skip to content

Commit

Permalink
chore: docker compose (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
patriknw authored Aug 6, 2024
1 parent 63e30e3 commit 7e01539
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:

- name: Start DB
run: |-
docker-compose -f docker/docker-compose-yugabyte.yml up -d
docker compose -f docker/docker-compose-yugabyte.yml up -d
# TODO: could we poll the port instead of sleep?
sleep 10
docker exec -i yb-tserver-n1 /home/yugabyte/bin/ysqlsh -h yb-tserver-n1 -t < ddl-scripts/create_tables_yugabyte.sql
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The tests expect a locally running database.
It can be started with the docker-compose file in the docker folder:

```
docker-compose -f docker/docker-compose-postgres.yml up --wait
docker compose -f docker/docker-compose-postgres.yml up --wait
```

```
Expand Down Expand Up @@ -52,7 +52,7 @@ The tests expect a locally running database.
It can be started with the docker-comopse file in the docker folder:

```
docker-compose -f docker/docker-compose-yugabyte.yml up
docker compose -f docker/docker-compose-yugabyte.yml up
```

```
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose-yugabyte.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '2'
version: '2.2'

# Local Yugabyte database, see https://docs.yugabyte.com/latest/deploy/docker/docker-compose/

Expand Down

0 comments on commit 7e01539

Please sign in to comment.