From: Rafael dos Santos Silva Date: Tue, 8 Dec 2020 18:10:16 +0000 (-0300) Subject: Fix dev image to work with pg13 (#495) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8ffba3af73a3026bb9b6f4a5f7ecad9bc46cf213;p=discourse_docker.git Fix dev image to work with pg13 (#495) --- 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