check the query log of postgresql
I want to check the query log of postgresql in real time.
How to connect with Posgres Docker container from both outside and internal network via non-default port?
I have the staging and production environments on same VPS, so I can not use same port for these environments.