From 14e63b50267d46f3f4f21fed61f34f195aa5a55b Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Tue, 12 May 2020 14:46:55 -0300 Subject: [PATCH] Fix dev image for new pg --- image/discourse_dev/postgres_dev.template.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/image/discourse_dev/postgres_dev.template.yml b/image/discourse_dev/postgres_dev.template.yml index 00085f5..028e718 100644 --- a/image/discourse_dev/postgres_dev.template.yml +++ b/image/discourse_dev/postgres_dev.template.yml @@ -1,12 +1,12 @@ run: - replace: - filename: "/etc/postgresql/10/main/postgresql.conf" + filename: "/etc/postgresql/12/main/postgresql.conf" from: /#?fullpage_writes *=.*/ to: "fullpage_writes = off" - replace: - filename: "/etc/postgresql/10/main/postgresql.conf" + filename: "/etc/postgresql/12/main/postgresql.conf" from: /#?fsync *=.*/ to: "fsync = off" @@ -14,7 +14,7 @@ run: background: true # use fast shutdown for pg stop_signal: INT - cmd: HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/10/bin/postmaster -D /etc/postgresql/10/main + cmd: HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/12/bin/postmaster -D /etc/postgresql/12/main - exec: background: true -- 2.25.1