Configure Discourse to use a separate PostgreSQL server

That is used by the Discourse AI core plugin, so you will need that if you are using it.