Skip to content
Closed
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
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ services:
- backend

db:
image: postgres:13
image: postgres:17
<<: *restart_policy
stop_grace_period: "3s"
volumes:
Expand All @@ -110,7 +110,7 @@ services:
######### Testing stuff below ############

db-test:
image: postgres:13
image: postgres:17
stop_grace_period: "3s"
volumes:
- "pgdata-test:/var/lib/postgresql/data"
Expand Down
2 changes: 1 addition & 1 deletion docker/ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV NODE_VERSION="22.15.0"
ENV DEBIAN_FRONTEND=noninteractive
ENV BUNDLE_WITHOUT="development:production:docker"

ENV PGVERSION=13
ENV PGVERSION=17
RUN wget --quiet -O- https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \
echo "deb http://apt.postgresql.org/pub/repos/apt bookworm-pgdg main" > /etc/apt/sources.list.d/pgdg.list

Expand Down
2 changes: 1 addition & 1 deletion docker/ci/postgresql.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# DB Version: 13
# DB Version: 17
# OS Type: linux
# DB Type: web
# Total Memory (RAM): 32 GB
Expand Down
2 changes: 1 addition & 1 deletion docker/dev/keycloak/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
db-keycloak:
image: postgres:13
image: postgres:17
restart: unless-stopped
networks:
- external
Expand Down
4 changes: 2 additions & 2 deletions docker/prod/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ ENV DOCKER=1
ENV APP_USER=app
ENV APP_PATH=/app
ENV APP_DATA_PATH=/var/openproject/assets
ENV PGVERSION="13"
ENV PGVERSION_CHOICES="13 15 17"
ENV PGVERSION="17"
ENV PGVERSION_CHOICES="17"
ENV PGBIN="/usr/lib/postgresql/$PGVERSION/bin"
ENV PATH="$PGBIN:$PATH"
ENV BUNDLE_WITHOUT="development:test"
Expand Down
2 changes: 1 addition & 1 deletion docker/prod/postgres-db-upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e
set -o pipefail

CURRENT_PGVERSION="$(cat $PGDATA/PG_VERSION)"
NEW_PGVERSION="13"
NEW_PGVERSION="17"

if [ "$CURRENT_PGVERSION" == "$NEW_PGVERSION" ]; then
echo "Current and new postgres version are identical. Aborting."
Expand Down
2 changes: 1 addition & 1 deletion docker/pullpreview/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ services:
- "caddy_data:/data"

db:
image: postgres:13
image: postgres:17
environment:
POSTGRES_USER: app
POSTGRES_PASSWORD: p4ssw0rd
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
database:
image: postgres:10
image: postgres:17
environment:
- POSTGRES_PASSWORD=p4ssw0rd
- POSTGRES_DB=openproject
Expand All @@ -15,7 +15,7 @@ services:
web: &openproject
environment:
- DATABASE_URL=postgres://postgres:p4ssw0rd@database/openproject
image: openproject/openproject:15
image: openproject/openproject:16
command: ./docker/web
worker:
<<: *openproject
Expand Down