From 8ffba3af73a3026bb9b6f4a5f7ecad9bc46cf213 Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Tue, 8 Dec 2020 15:10:16 -0300 Subject: [PATCH] Fix dev image to work with pg13 (#495) --- 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 028e718..1742fdb 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/12/main/postgresql.conf" + filename: "/etc/postgresql/13/main/postgresql.conf" from: /#?fullpage_writes *=.*/ to: "fullpage_writes = off" - replace: - filename: "/etc/postgresql/12/main/postgresql.conf" + filename: "/etc/postgresql/13/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/12/bin/postmaster -D /etc/postgresql/12/main + cmd: HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main - exec: background: true -- 2.25.1