Deployment of XWiki - XWiki and PostgreSQL on two separate servers

Hi everyone,

I’m currently planning a production deployment of XWiki and I’d like to confirm my understanding of the recommended architecture before going further.

My goal is to run XWiki and PostgreSQL on two separate servers (not on the same machine), and simply point XWiki to the remote database by updating the connection.url in hibernate.cfg.xml.

Is it the right way and possible?

Thank you in advance

yes ofc that’s possible! it’s even recommended :wink:

See for example https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Installation/InstallationWAR/ which explains how to connect XWiki running inside the servlet container and the database (wherever it’s located).

Thx