From 4b11c99e6f8fcde118e764d11237674807bf9760 Mon Sep 17 00:00:00 2001 From: Nico Vermaas <vermaas@astron.nl> Date: Fri, 18 Dec 2020 09:32:52 +0100 Subject: [PATCH] experimenting with postgres config --- atdb/docker/postgres/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atdb/docker/postgres/Dockerfile b/atdb/docker/postgres/Dockerfile index 5e50701f..49f74b41 100644 --- a/atdb/docker/postgres/Dockerfile +++ b/atdb/docker/postgres/Dockerfile @@ -40,7 +40,7 @@ RUN echo "host all all 0.0.0.0/0 md5" >> /etc/postgresql/9.4/main/pg_hba.co RUN echo "listen_addresses='*'" >> /etc/postgresql/9.4/main/postgresql.conf # Add VOLUMEs to allow backup of config, logs and databases -#VOLUME ["/etc/postgresql", "/var/log/postgresql", "/var/lib/postgresql"] +VOLUME ["/etc/postgresql", "/var/log/postgresql", "/var/lib/postgresql"] # Set the default command to run when starting the container CMD ["/usr/lib/postgresql/9.4/bin/postgres", "-D", "/var/lib/postgresql/9.4/main", "-c", "config_file=/etc/postgresql/9.4/main/postgresql.conf"] -- GitLab