From f7a3738c5c3b54d4e0e75802ef12c15f34e40908 Mon Sep 17 00:00:00 2001 From: Jakub Czajka Date: Tue, 2 Jan 2024 13:05:39 +0100 Subject: [PATCH] [postgres] Permit only local connections from metrics_tracker. --- COPYING | 2 +- postgres/pg_hba.conf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/COPYING b/COPYING index 6b05f36..170d7de 100644 --- a/COPYING +++ b/COPYING @@ -6,7 +6,7 @@ file should be licensed under the 0BSD license which is described below. BSD Zero Clause License -Copyright (C) 2022-2023 by Jakub Czajka +Copyright (C) 2022-2024 by Jakub Czajka Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. diff --git a/postgres/pg_hba.conf b/postgres/pg_hba.conf index e0d541c..ae9be94 100755 --- a/postgres/pg_hba.conf +++ b/postgres/pg_hba.conf @@ -96,6 +96,7 @@ host mail_db dovecot ::1/128 trust host mail_db dkim ::1/128 trust local gym_db gym_tracker trust local matrix_db synapse_user trust +local metrics_db metrics_tracker trust local payments_db payments_tracker trust # "local" is for Unix domain socket connections only local all all peer -- 2.39.5