From 9ce4aeb755bcb22034d0bb4ea59983d263b8176c Mon Sep 17 00:00:00 2001 From: Anatoli Nicolae Date: Mon, 8 Jul 2024 00:17:40 +0200 Subject: [PATCH] Add edge note for pgsql.listening-ips Signed-off-by: Anatoli Nicolae --- notes/access-host-from-podman-container.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/notes/access-host-from-podman-container.md b/notes/access-host-from-podman-container.md index a1db7b0..7926154 100644 --- a/notes/access-host-from-podman-container.md +++ b/notes/access-host-from-podman-container.md @@ -71,6 +71,12 @@ We now need to apply the changes by invoking a Postgres reconfiguration via Ansi upcp -sb pgsql/install ``` + + +You can now achieve this on edge and edge-master by using `pgsql.listening-ips` scope: `cpcmd scope:set pgsql.listening-ips '["127.0.0.1", "::1", "10.89.0.1"]'` will update the bind address definition and will trigger bootstrapper to apply `pgsql/install`. + + + After playbooks completes all actions, Podman containers will be able to access Host Postgres via: - `host.containers.internal:5432` - `host.docker.internal:5432`