Thank you for the interesting article.
It is about running PostgreSQL docker on a local machine and work with it from the same localhost. How to run the docker on machine A and work with it from machines B, C etc in the same LAN?
That is easy. If you know the IP address of your system where you're running the Postgres container(Google "My IP Address" if not), you can connect from other machines by using the same connection string, except replacing locahost with the IP address of the machine where the container is running.