Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[*] use Docker Compose V2 instead of V1 #392

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ For the fastest development experience the Docker compose file is provided:
```shell
git clone https://github.com/cybertec-postgresql/pgwatch3.git && cd pgwatch3

docker-compose up --detach
docker compose up --detach
```
<pre>
✔ Network pgwatch3_default Created
Expand All @@ -39,7 +39,7 @@ looking at metrics. You may log in as admin (`admin`/`admin`) to apply changes t
To add a test database under monitoring, you can use [built-in WebUI](http://localhost:8080/). Or simply
execute from command line:
```shell
$ docker-compose up add-test-db
$ docker compose up add-test-db
```
<pre>
[+] Running 2/0
Expand All @@ -58,7 +58,7 @@ pgwatch3-add-test-db-1 exited with code 0

To emulate workload for added test database execute:
```
$ docker-compose up pgbench
$ docker compose up pgbench
```
<pre>
[+] Running 2/2
Expand Down Expand Up @@ -111,7 +111,7 @@ pgwatch3-pgbench-1 exited with code 0
If you apply any changes to the source code and want to restart the agent, it's usually enough to run:

```shell
$ docker-compose up pgwatch3 --build --force-recreate --detach
$ docker compose up pgwatch3 --build --force-recreate --detach
```

The command above will rebuild the `pgwatch3` agent from sources and relaunch the container.
Expand Down
Loading