From 7666b15c754bedddd0f24da872d374345450b6b1 Mon Sep 17 00:00:00 2001 From: Chuck B Date: Fri, 8 Mar 2024 18:54:02 -0500 Subject: [PATCH] PG 15.4->16.1 --- bank/scripts/start_postgres_docker.sh | 4 ++-- e-commerce/start_postgres_docker.sh | 2 +- hello-extended/start_postgres_docker.sh | 2 +- yky-social/scripts/start_postgres_docker.sh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bank/scripts/start_postgres_docker.sh b/bank/scripts/start_postgres_docker.sh index 9a7753d2..c3b763a4 100755 --- a/bank/scripts/start_postgres_docker.sh +++ b/bank/scripts/start_postgres_docker.sh @@ -7,7 +7,7 @@ if [[ -z "${PGPASSWORD}" ]]; then fi # Start Postgres in a local Docker container -docker run --rm --name=bankdb --env=POSTGRES_PASSWORD=${PGPASSWORD} --env=PGDATA=/var/lib/postgresql/data --volume=/var/lib/postgresql/data -p 5432:5432 -d postgres:15.4 +docker run --rm --name=bankdb --env=POSTGRES_PASSWORD=${PGPASSWORD} --env=PGDATA=/var/lib/postgresql/data --volume=/var/lib/postgresql/data -p 5432:5432 -d postgres:16.1 # Wait for PostgreSQL to start echo "Waiting for PostgreSQL to start..." @@ -30,4 +30,4 @@ echo "Database user: 'bank' and database: 'bank' created." # Create Keycloak schema docker exec bankdb psql -U bank -d bank -c "CREATE SCHEMA IF NOT EXISTS keycloak;" -echo "Schema: 'keycloak' created." \ No newline at end of file +echo "Schema: 'keycloak' created." diff --git a/e-commerce/start_postgres_docker.sh b/e-commerce/start_postgres_docker.sh index 24b586e4..4626f58b 100755 --- a/e-commerce/start_postgres_docker.sh +++ b/e-commerce/start_postgres_docker.sh @@ -7,7 +7,7 @@ if [[ -z "${PGPASSWORD}" ]]; then fi # Start Postgres in a local Docker container -docker run --rm --name=dbos-ecommerce --env=POSTGRES_PASSWORD=${PGPASSWORD} --env=PGDATA=/var/lib/postgresql/data --volume=/var/lib/postgresql/data -p 5432:5432 -d postgres:15.4 +docker run --rm --name=dbos-ecommerce --env=POSTGRES_PASSWORD=${PGPASSWORD} --env=PGDATA=/var/lib/postgresql/data --volume=/var/lib/postgresql/data -p 5432:5432 -d postgres:16.1 # Wait for PostgreSQL to start echo "Waiting for PostgreSQL to start..." diff --git a/hello-extended/start_postgres_docker.sh b/hello-extended/start_postgres_docker.sh index 8feda8aa..910c8d31 100755 --- a/hello-extended/start_postgres_docker.sh +++ b/hello-extended/start_postgres_docker.sh @@ -7,7 +7,7 @@ if [[ -z "${PGPASSWORD}" ]]; then fi # Start Postgres in a local Docker container -docker run --rm --name=dbos-db --env=POSTGRES_PASSWORD=${PGPASSWORD} --env=PGDATA=/var/lib/postgresql/data --volume=/var/lib/postgresql/data -p 5432:5432 -d postgres:15.4 +docker run --rm --name=dbos-db --env=POSTGRES_PASSWORD=${PGPASSWORD} --env=PGDATA=/var/lib/postgresql/data --volume=/var/lib/postgresql/data -p 5432:5432 -d postgres:16.1 # Wait for PostgreSQL to start echo "Waiting for PostgreSQL to start..." diff --git a/yky-social/scripts/start_postgres_docker.sh b/yky-social/scripts/start_postgres_docker.sh index cff97bae..d849c914 100755 --- a/yky-social/scripts/start_postgres_docker.sh +++ b/yky-social/scripts/start_postgres_docker.sh @@ -19,7 +19,7 @@ if [[ -z "${POSTGRES_PORT}" ]]; then fi # Start Postgres in a local Docker container -docker run --rm --name=ykydb --env=POSTGRES_PASSWORD=${POSTGRES_PASSWORD} --env=PGDATA=/var/lib/postgresql/data --volume=/var/lib/postgresql/data -p ${POSTGRES_PORT}:5432 -d postgres:15.4 +docker run --rm --name=ykydb --env=POSTGRES_PASSWORD=${POSTGRES_PASSWORD} --env=PGDATA=/var/lib/postgresql/data --volume=/var/lib/postgresql/data -p ${POSTGRES_PORT}:5432 -d postgres:16.1 # Wait for PostgreSQL to start echo "Waiting for PostgreSQL to start on port ${POSTGRES_PORT}..."