version upgrade to PostgreSQL Server 15.5-bookworm
This commit is contained in:
parent
287c1ad9dc
commit
51aebc65b2
2
.aliases
2
.aliases
@ -44,7 +44,7 @@ alias podman-stop='systemctl --user disable --now podman.socket && systemctl --u
|
|||||||
alias podman-use='export DOCKER_HOST="unix:///run/user/$UID/podman/podman.sock"; export TESTCONTAINERS_RYUK_DISABLED=true'
|
alias podman-use='export DOCKER_HOST="unix:///run/user/$UID/podman/podman.sock"; export TESTCONTAINERS_RYUK_DISABLED=true'
|
||||||
|
|
||||||
alias gw=gradleWrapper
|
alias gw=gradleWrapper
|
||||||
alias pg-sql-run='docker run --name hsadmin-ng-postgres -e POSTGRES_PASSWORD=password -p 5432:5432 -d postgres:13.7-bullseye'
|
alias pg-sql-run='docker run --name hsadmin-ng-postgres -e POSTGRES_PASSWORD=password -p 5432:5432 -d postgres:15.5-bookworm'
|
||||||
alias pg-sql-stop='docker stop hsadmin-ng-postgres'
|
alias pg-sql-stop='docker stop hsadmin-ng-postgres'
|
||||||
alias pg-sql-start='docker container start hsadmin-ng-postgres'
|
alias pg-sql-start='docker container start hsadmin-ng-postgres'
|
||||||
alias pg-sql-remove='docker rm hsadmin-ng-postgres'
|
alias pg-sql-remove='docker rm hsadmin-ng-postgres'
|
||||||
|
@ -50,7 +50,7 @@ Everything is tested on _Ubuntu Linux 22.04_ and _MacOS Monterey (12.4)_.
|
|||||||
To be able to build and run the Java Spring Boot application, you need the following tools:
|
To be able to build and run the Java Spring Boot application, you need the following tools:
|
||||||
|
|
||||||
- Docker 20.x (on MacOS you also need *Docker Desktop* or similar)
|
- Docker 20.x (on MacOS you also need *Docker Desktop* or similar)
|
||||||
- PostgreSQL Server 13.7-bullseye
|
- PostgreSQL Server 15.5-bookworm
|
||||||
(see instructions below to install and run in Docker)
|
(see instructions below to install and run in Docker)
|
||||||
- Java JDK at least recent enough to run Gradle
|
- Java JDK at least recent enough to run Gradle
|
||||||
(JDK 17.x will be automatically installed by Gradle toolchain support)
|
(JDK 17.x will be automatically installed by Gradle toolchain support)
|
||||||
@ -133,14 +133,14 @@ But the easiest way to run PostgreSQL is via Docker.
|
|||||||
|
|
||||||
Initially, pull an image compatible to current PostgreSQL version of Hostsharing:
|
Initially, pull an image compatible to current PostgreSQL version of Hostsharing:
|
||||||
|
|
||||||
docker pull postgres:13.7-bullseye
|
docker pull postgres:15.5-bookworm
|
||||||
|
|
||||||
<big>**⚠**</big>
|
<big>**⚠**</big>
|
||||||
If we switch the version, please also amend the documentation as well as the aliases file. Thanks!
|
If we switch the version, please also amend the documentation as well as the aliases file. Thanks!
|
||||||
|
|
||||||
Create and run a container with the given PostgreSQL version:
|
Create and run a container with the given PostgreSQL version:
|
||||||
|
|
||||||
docker run --name hsadmin-ng-postgres -e POSTGRES_PASSWORD=password -p 5432:5432 -d postgres:13.7-bullseye
|
docker run --name hsadmin-ng-postgres -e POSTGRES_PASSWORD=password -p 5432:5432 -d postgres:15.5-bookworm
|
||||||
|
|
||||||
# or via alias:
|
# or via alias:
|
||||||
pg-sql-run
|
pg-sql-run
|
||||||
|
Loading…
Reference in New Issue
Block a user