From: Rafael dos Santos Silva Date: Tue, 12 May 2020 17:46:55 +0000 (-0300) Subject: Fix dev image for new pg X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=14e63b50267d46f3f4f21fed61f34f195aa5a55b;p=discourse_docker.git Fix dev image for new pg --- 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