From 5601bc8d6b11721d881b6e76b1c84a7912589d76 Mon Sep 17 00:00:00 2001 From: Marvin Kinberger Date: Wed, 28 Jun 2023 15:00:42 +0200 Subject: [PATCH] Update pg.conf.template Add environment to conninfo and streaming_conninfo --- pg.conf.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pg.conf.template b/pg.conf.template index 04ed66b..9c789d5 100644 --- a/pg.conf.template +++ b/pg.conf.template @@ -1,8 +1,8 @@ [${DB_HOST}] active = true description = "PostgreSQL Database (Streaming-Only)" -conninfo = host=${DB_HOST} user=${DB_SUPERUSER} dbname=${DB_SUPERUSER_DATABASE} -streaming_conninfo = host=${DB_HOST} user=${DB_REPLICATION_USER} +conninfo = host=${DB_HOST} user=${DB_SUPERUSER} dbname=${DB_SUPERUSER_DATABASE} port=${DB_PORT} +streaming_conninfo = host=${DB_HOST} user=${DB_REPLICATION_USER} port=${DB_PORT} backup_method = ${DB_BACKUP_METHOD} streaming_archiver = on slot_name = ${DB_SLOT_NAME}