Mobile app version of vmapp.org
Login or Join
Correia994

: Making DHIS2 work with postgresql We are facing issues with deployment of DHIS2 with PostgreSQL on AWS. We need help. This is our setup: 1. AWS Beanstalk Tomcat container running DHIS2 (last

@Correia994

Posted in: #Dhis2

We are facing issues with deployment of DHIS2 with PostgreSQL on AWS. We need help. This is our setup:
1. AWS Beanstalk Tomcat container running DHIS2 (last stable release)
2. AWS RDS instance of Postgresql

My question is:
- How do I make DHIS2 use PostgreSQL. Documentation talks about configuring the setup using hibernate.properties ... but where is that file?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Correia994

1 Comments

Sorted by latest first Latest Oldest Best

 

@Sue5673885

You will have to create the hibernate.properties config file yourself. Note that after version 2.22 the file is called dhis.conf. You can place the configuration in whichever location you prefer. You must define an environment variable called DHIS2_HOME which points to the directory in which you placed the dhis.conf / hibernate.properties file.

You can define environment variables in the Beanstalk Web interface from Configuration > Software configuration.

DHIS 2 installation documentation is found here.

AWS Beanstalk environment variables documentation is found here.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme