Skip to content

Commit

Permalink
Merge pull request #124868 from cockroachdb/blathers/backport-release…
Browse files Browse the repository at this point in the history
…-23.2-124865

release-23.2: acceptance: use `docker compose`
  • Loading branch information
rail authored May 31, 2024
2 parents a6cdc49 + f1471ec commit b38abad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion pkg/compose/compose_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ func TestComposeCompare(t *testing.T) {
}
}
cmd := exec.Command(
"docker-compose",
"docker",
"compose",
"-f", dockerComposeYml,
"--no-ansi",
"up",
Expand Down
6 changes: 3 additions & 3 deletions scripts/localmetrics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Quick Start

```
docker-compose up -d
docker compose up -d
./import-csv.sh < (curl https://gist.githubusercontent.com/tbg/98d9814f624629833e6cfb7d25cb8258/raw/70a96d50032361f864b240dbd9f1c36c385b7515/sample.csv)
# User/Pass admin/x
open http://127.0.0.1:3000
Expand All @@ -17,7 +17,7 @@ The source of this could be a `debug zip` (pending [#50432]), or

`./cockroach debug tsdump --format=csv --host=... > dump.csv`.

### Step 2: `docker-compose up -d`
### Step 2: `docker compose up -d`

Not much more to be said. Unsurprisingly, this needs Docker to work. Omit the
`-d` if you want to see what's going on behind the scenes. It may take a moment
Expand Down Expand Up @@ -46,7 +46,7 @@ Replace ./grafana/dashboards/home.json if you want the changes to persist.

TODO(tbg): auto-generate a better home.json from `pkg/ts/catalog`.

### Step 5: docker-compose stop
### Step 5: docker compose stop

To avoid hogging resources on your machine. The postgres database is on your
local file system, so it will remain. If you want to nuke everything, use
Expand Down

0 comments on commit b38abad

Please sign in to comment.