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}