Files
threshold/website/content/docs/installing/postgres.mdx
T

35 lines
1.1 KiB
Plaintext
Raw Normal View History

---
layout: docs
2020-10-07 08:24:12 +08:00
page_title: Postgres Installation
sidebar_title: Postgres Install
description: |-
2020-10-07 08:24:12 +08:00
Postgres configuration for Boundary
---
# Postgres Configuration
This section covers Postgres-specific installation requirements.
## Version
2020-10-08 14:24:15 -04:00
Boundary has only been tested on Postgres 11 or greater.
2020-10-07 08:24:12 +08:00
## Network
Boundary controllers must be able to reach Postgres.
In non-HA configurations, this means Boundary servers;
if you're running in [high availability](/docs/installing/high-availability),
then the controllers need access to the Postgres server infrastructure.
Worker nodes never need access to the database.
## Users/Roles
After the database has been initialized,
the database user for a Boundary Controller
only requires permissions for [Data Manipulation](https://www.postgresql.org/docs/current/dml.html)
(select, insert, update, and delete) operations.
Database initialization requires elevated privileges.
When initializing the database with the `boundary database init` command,
the boundary database user
requires the `superuser` role plus `all privileges` on the boundary database.