# How can I configure BonitaSoft to use PostgreSQL instead of H2

**URL:** <https://community.ofelia.com/t/how-can-i-configure-bonitasoft-to-use-postgresql-instead-of-h2/26652>\
**Category:** Q&A\
**Created:** [10 December 2024 00:51 UTC](https://community.ofelia.com/t/how-can-i-configure-bonitasoft-to-use-postgresql-instead-of-h2/26652 "2024-12-10T00:51:33Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![thalia.cruz](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/thalia.cruz/32/1230_2.png) [@thalia.cruz](https://community.ofelia.com/u/thalia.cruz)\
**Post date:** [20 December 2024 14:01 UTC](https://community.ofelia.com/t/how-can-i-configure-bonitasoft-to-use-postgresql-instead-of-h2/26652/4 "2024-12-20T14:01:57Z")

</div>

Hi @houssemeddine.weslat

I’ve created a 📹 short video to better explain how to achieve this configuration: [https://youtu.be/C2N092D\_K98](https://youtu.be/C2N092D_K98)

To make it easier, I will be using a **PostgreSQL Docker image** that already contains all the necessary configuration for Bonita ([available on Github](https://github.com/Bonitasoft-Community/bonita-database-docker/tree/main)). I have previously created a Docker image with a Bonita application using Bonita 2023.2. I am using docker compose.

**🔗 Useful links:**  
Database configuration documentation: [Database configuration | Bonita Documentation](https://documentation.bonitasoft.com/bonita/latest/runtime/database-configuration)  
Deploying Bonita with Docker: [Deploy Bonita Runtime with Docker | Bonita Documentation](https://documentation.bonitasoft.com/bonita/latest/runtime/bonita-docker-installation#_using_docker_compose)

Hope this helps.  
Cheers!  
-Thalía

---

_[View the full topic](https://community.ofelia.com/t/how-can-i-configure-bonitasoft-to-use-postgresql-instead-of-h2/26652)._
