Skip to content

Comments

feat: changed postgresql authentication mechanism#86

Open
bobjolliffe wants to merge 1 commit intomasterfrom
feature/postgres-config
Open

feat: changed postgresql authentication mechanism#86
bobjolliffe wants to merge 1 commit intomasterfrom
feature/postgres-config

Conversation

@bobjolliffe
Copy link
Collaborator

mount pg_hba.conf under config/postgresql/pg_hba.conf

changed authentication method to trust for unix domain socket connection

Rationale:
sysadmins should have control of access control to the database, for example to setup external connections
It is convenient to use 'trust' for connections inside the container. So you can run, for example, docker compose exec database psql dhis without prompting for a database password.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant