From fd80a496e42e29cc6e8dd5ca931b099e6f085997 Mon Sep 17 00:00:00 2001 From: Andrew Red Date: Wed, 24 May 2023 22:10:56 +0100 Subject: [PATCH] - tuning pg_restore - updated database version --- sanitizer/Dockerfile | 2 +- sanitizer/src/start.sh | 26 +++++++++++++++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/sanitizer/Dockerfile b/sanitizer/Dockerfile index d190821..fa4ff3f 100644 --- a/sanitizer/Dockerfile +++ b/sanitizer/Dockerfile @@ -1,6 +1,6 @@ ARG version=13.1 -FROM plyo/postgres:database-7.3.0-$version +FROM plyo/postgres:database-8.0.0-$version ENV S3_BACKUP_MNT_POINT "/backups" ENV S3_SANITIZED_BACKUP_MNT_POINT "/sanitized" diff --git a/sanitizer/src/start.sh b/sanitizer/src/start.sh index 388faa2..0cc25f1 100755 --- a/sanitizer/src/start.sh +++ b/sanitizer/src/start.sh @@ -22,6 +22,30 @@ backup_roles_file=${backup_file}_roles.out echo "starting postgres..." rm -rf "${PGDATA}" + +cat > /var/lib/postgresql/data/postgresql.conf <