Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Karrot to connect to postgres via unix domain socket #21

Open
nicksellen opened this issue Aug 28, 2023 · 0 comments
Open

Karrot to connect to postgres via unix domain socket #21

nicksellen opened this issue Aug 28, 2023 · 0 comments

Comments

@nicksellen
Copy link
Member

On the server I added a couple of lines into /etc/postgresql/13/main/pg_hba.conf

local fstool-dev fstool-dev md5
local karrot-world fstool md5

And then in .env (or karrot.env in here...) just adding:

DATABASE_HOST=

(as blank means try unix domain socket see https://docs.djangoproject.com/en/4.2/ref/settings/#host)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant