DUXPLIMA Documentation

PostgreSQL

Connecting to PostgreSQL to share keys, limits and boards across servers.

storage {
  type     = "postgresql"
  host     = "db.example.net"
  port     = 0                # 0 is 5432
  database = "minecraft"
  username = "plots"
  password = "secret"
}
KeyMeaning
typepostgresql. The driver is downloaded on the first start
host, portThe database server; port 0 is 5432
databaseThe database, which must exist
username, passwordA user that may create tables in the database's default schema

Everything else, the prefix and the pool, reads as for MySQL and MariaDB. To bring an existing SQLite file across, see Moving off SQLite.

Related: Overview