feat: Add support for connecting to Postgres via the socket

This commit is contained in:
Daniel Kempkens 2023-08-14 01:26:59 +02:00
parent 277bee4dc4
commit 0d86039210
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -9,4 +9,5 @@ config :bdfr_browser, BdfrBrowser.Repo,
database: System.get_env("BDFR_BROWSER_REPO_DATABASE", "postgres"),
username: System.get_env("BDFR_BROWSER_REPO_USER", "bdfr-browser"),
password: System.get_env("BDFR_BROWSER_REPO_PASSWORD", ""),
hostname: System.get_env("BDFR_BROWSER_REPO_HOST", "localhost")
socket_dir: System.get_env("BDFR_BROWSER_REPO_SOCKET_DIR", nil),
hostname: System.get_env("BDFR_BROWSER_REPO_HOST", nil)