Skip to content

Commit

Permalink
postgres version 15.4
Browse files Browse the repository at this point in the history
  • Loading branch information
qianl15 committed Oct 16, 2023
1 parent eaac2c6 commit cd9a368
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/hello-world.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
services:
# Label used to access the service container.
postgres:
image: postgres:16
image: postgres:15.4
env:
# Specify the password for Postgres superuser.
POSTGRES_PASSWORD: dbos
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/yky-social.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
services:
# Label used to access the service container.
postgres:
image: postgres
image: postgres:15.4
env:
# Specify the password for Postgres superuser.
POSTGRES_PASSWORD: dbos
Expand Down
2 changes: 1 addition & 1 deletion e-commerce/start_postgres_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [[ -z "${PGPASSWORD}" ]]; then
fi

# Start Postgres in a local Docker container
docker run --rm --name=operon-ecommerce --env=POSTGRES_PASSWORD=${PGPASSWORD} --env=PGDATA=/var/lib/postgresql/data --volume=/var/lib/postgresql/data -p 5432:5432 -d postgres:16.0
docker run --rm --name=operon-ecommerce --env=POSTGRES_PASSWORD=${PGPASSWORD} --env=PGDATA=/var/lib/postgresql/data --volume=/var/lib/postgresql/data -p 5432:5432 -d postgres:15.4

# Wait for PostgreSQL to start
echo "Waiting for PostgreSQL to start..."
Expand Down
2 changes: 1 addition & 1 deletion hello-world-extended/start_postgres_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [[ -z "${PGPASSWORD}" ]]; then
fi

# Start Postgres in a local Docker container
docker run --rm --name=operon-db --env=POSTGRES_PASSWORD=${PGPASSWORD} --env=PGDATA=/var/lib/postgresql/data --volume=/var/lib/postgresql/data -p 5432:5432 -d postgres:latest
docker run --rm --name=operon-db --env=POSTGRES_PASSWORD=${PGPASSWORD} --env=PGDATA=/var/lib/postgresql/data --volume=/var/lib/postgresql/data -p 5432:5432 -d postgres:15.4

# Wait for PostgreSQL to start
echo "Waiting for PostgreSQL to start..."
Expand Down

0 comments on commit cd9a368

Please sign in to comment.