Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ A Docker image is available from `docker pull ghcr.io/postgresml/pgcat:latest`.
For quick local example, use the Docker Compose environment provided:

```bash
docker-compose up
docker compose up

# In a new terminal:
PGPASSWORD=postgres psql -h 127.0.0.1 -p 6432 -U postgres -c 'SELECT 1'
Expand Down
2 changes: 0 additions & 2 deletions dev/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3"

x-common-definition-pg:
&common-definition-pg
image: postgres:14
Expand Down
4 changes: 2 additions & 2 deletions dev/script/console
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ export HOST_UID="$(id -u)"
export HOST_GID="$(id -g)"

if [[ "${1}" == "down" ]]; then
docker-compose -f "${DIR}/../docker-compose.yaml" down
docker compose -f "${DIR}/../docker-compose.yaml" down
exit 0
else
docker-compose -f "${DIR}/../docker-compose.yaml" run --rm pgcat-shell
docker compose -f "${DIR}/../docker-compose.yaml" run --rm pgcat-shell
fi
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3"
services:
postgres:
image: postgres:14
Expand Down