We provide standard ways to connect to databases outside the application container, like Configure Discourse to use a separate PostgreSQL server. The details of networking on those advanced setups are up to you, since it will be wildly different depending on your implementation.
We already gives a dead simple install for everyone on discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub that works and power thousands of instances in the internet. I’m afraid that those who opt into following their own path will have to deal with the consequences as it is impossible for us to provide support for all the possible combinations.