Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

How to Migrate Sonarqube from H2 to Postgresql?

Step 1 – Run Postgresql using docker command


$ docker run --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=mysecretpassword -d postgres

Step 2 – Modify sonar.properties


sonar.jdbc.username=postgres
sonar.jdbc.password=mysecretpassword
sonar.jdbc.url=jdbc:postgresql://172.31.13.0:5432/postgres?currentSchema=public

Step 3 – Do this

Step 4 – Do this

Step 5 – Start SonarQube

Step 6 – Access http://52.66.187.172:9000/

admin
admin

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x