fab-geocommuns / RNB-coeur

Le coeur du Référentiel National des Bâtiments : imports, APIs, logique métier
https://rnb.beta.gouv.fr
Apache License 2.0
3 stars 0 forks source link

PostgreSQL authentification #365

Open rmaziere opened 6 months ago

rmaziere commented 6 months ago

Le mode d'authentification trust est activé en local, ce qui signifie qu'à l'intérieur du conteneur, le mot de passe n'est pas vérifié à la connexion.

trust
Allow the connection unconditionally. This method allows anyone that can connect to the PostgreSQL database server 
to login as any PostgreSQL user they wish, without the need for a password or any other authentication.

Message de Warning

initdb: warning: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.