aboutsummaryrefslogtreecommitdiffstats
path: root/matrix-server/postgres
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-02-19 08:02:22 +0000
committerterminaldweller <thabogre@gmail.com>2021-02-19 08:02:22 +0000
commit28ed4f737330a1ec42b5493a24faa9fd13eefe91 (patch)
treed4b974facc20e84c1f8e06423aed0012b36649e1 /matrix-server/postgres
parentmatrix server update...almost working...WIP (diff)
downloaddockerimages-28ed4f737330a1ec42b5493a24faa9fd13eefe91.tar.gz
dockerimages-28ed4f737330a1ec42b5493a24faa9fd13eefe91.zip
update, debugging the haproxy config
Diffstat (limited to 'matrix-server/postgres')
-rw-r--r--matrix-server/postgres/Dockerfile3
-rw-r--r--matrix-server/postgres/pg_hba.conf7
-rw-r--r--matrix-server/postgres/pg_pass_secret2
3 files changed, 11 insertions, 1 deletions
diff --git a/matrix-server/postgres/Dockerfile b/matrix-server/postgres/Dockerfile
new file mode 100644
index 0000000..028d2fb
--- /dev/null
+++ b/matrix-server/postgres/Dockerfile
@@ -0,0 +1,3 @@
+FROM postgres:13-alpine
+
+COPY ./pg_hba.conf /var/lib/postgres/data/
diff --git a/matrix-server/postgres/pg_hba.conf b/matrix-server/postgres/pg_hba.conf
new file mode 100644
index 0000000..1a0a1a9
--- /dev/null
+++ b/matrix-server/postgres/pg_hba.conf
@@ -0,0 +1,7 @@
+host all all all md5
+local all all trust
+host all all 127.0.0.1/32 trust
+host all all ::1/128 trust
+local replication all trust
+host replication all 127.0.0.1/32 trust
+host replication all ::1/128 trust
diff --git a/matrix-server/postgres/pg_pass_secret b/matrix-server/postgres/pg_pass_secret
index f35f326..7779b9c 100644
--- a/matrix-server/postgres/pg_pass_secret
+++ b/matrix-server/postgres/pg_pass_secret
@@ -1 +1 @@
-El3ph@ant#13
+El3ph@nt#13