Skip to content

Commit

Permalink
Add edge note for pgsql.listening-ips
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoli Nicolae <[email protected]>
  • Loading branch information
anatolinicolae committed Jul 7, 2024
1 parent f2d2641 commit 9ce4aeb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions notes/access-host-from-podman-container.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ We now need to apply the changes by invoking a Postgres reconfiguration via Ansi
upcp -sb pgsql/install
```

<Note>

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`.

</Note>

After playbooks completes all actions, Podman containers will be able to access Host Postgres via:
- `host.containers.internal:5432`
- `host.docker.internal:5432`

0 comments on commit 9ce4aeb

Please sign in to comment.