community-edition icon indicating copy to clipboard operation
community-edition copied to clipboard

Add DATABASE_SOCKET_DIR and related to README.md

Open titanofold opened this issue 2 months ago • 5 comments

Support for connecting to PostgreSQL via Unix domain socket was added a couple of years ago, and this should help advertise that support.

There are 3 additional influential variables that users should expect to need defining:

  • DATABASE_NAME
  • PGUSER
  • PGPASSWORD

While DATABASE_NAME is Plausible-specific, PGUSER and PGPASSWORD support comes from the underlying database driver. Rather than making users dig through code and commit history for this info (because the driver doesn't document this either), we include it here for ease of access.

titanofold avatar Jun 07 '24 14:06 titanofold