mirror of
https://github.com/opf/openproject-deploy.git
synced 2026-02-14 16:59:51 +00:00
Bump default db service to 17
This commit is contained in:
@@ -3,7 +3,7 @@ FROM debian:12
|
||||
RUN apt-get update -qq && apt-get install wget gnupg2 -y && rm -rf /var/lib/apt/lists/*
|
||||
RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
|
||||
RUN echo "deb http://apt.postgresql.org/pub/repos/apt bookworm-pgdg main" > /etc/apt/sources.list.d/pgdg.list
|
||||
RUN apt-get update -qq && apt-get install postgresql-9.6 postgresql-10 postgresql-13 -y && rm -rf /var/lib/apt/lists/*
|
||||
RUN apt-get update -qq && apt-get install postgresql-13 postgresql-17 -y && rm -rf /var/lib/apt/lists/*
|
||||
RUN localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
|
||||
|
||||
ENV LANG en_US.utf8
|
||||
|
||||
@@ -3,7 +3,7 @@ set -e
|
||||
set -o pipefail
|
||||
|
||||
CURRENT_PGVERSION="$(cat $PGDATA/PG_VERSION)"
|
||||
NEW_PGVERSION="13"
|
||||
NEW_PGVERSION="17"
|
||||
PGWORKDIR=${PGWORKDIR:=/var/lib/postgresql/work}
|
||||
|
||||
if [ ! "$CURRENT_PGVERSION" -lt "$NEW_PGVERSION" ]; then
|
||||
|
||||
@@ -29,7 +29,7 @@ x-op-app: &app
|
||||
|
||||
services:
|
||||
db:
|
||||
image: postgres:13
|
||||
image: postgres:17
|
||||
<<: *restart_policy
|
||||
stop_grace_period: "3s"
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user