Running Discourse with pg_bouncer and a separate DB

I believe that you’ll need to use an ip that the container can access. It has its own local host, I believe