Skip to content

Add files on how to reinstall SonarQube#60

Merged
Gr33ndev merged 5 commits intomainfrom
documentation/add-docu-of-reinstall-of-sonar
Jul 1, 2022
Merged

Add files on how to reinstall SonarQube#60
Gr33ndev merged 5 commits intomainfrom
documentation/add-docu-of-reinstall-of-sonar

Conversation

@Gr33ndev
Copy link
Contributor

@Gr33ndev Gr33ndev commented Jun 28, 2022

Copy link
Contributor

@madebyTimo madebyTimo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good work overall, but some things can be enhanced


services:
sonarqube:
image: sonarqube:community
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
image: sonarqube:community
image: sonarqube:community
restart: always

ports:
- "9000:9000"
db:
image: postgres:12
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
image: postgres:12
image: postgres:12
restart: always

ports:
- "9000:9000"
db:
image: postgres:12
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why using postgres 12 and not postgres 14?

Comment on lines 112 to 113
docker update --restart always sonardocker_db_1
docker update --restart always sonardocker_sonarqube_1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
docker update --restart always sonardocker_db_1
docker update --restart always sonardocker_sonarqube_1

Comment on lines 117 to 120
crontab -e
-> add
@reboot docker start sonardocker_db_1
@reboot docker start sonardocker_sonarqube_1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
crontab -e
-> add
@reboot docker start sonardocker_db_1
@reboot docker start sonardocker_sonarqube_1

with dockers restart always the containers automatically should restart after a reboot

@madebyTimo
Copy link
Contributor

Is there also a reverse-proxy configuration to access sonarqube? With this configuration it only runs at port 9000, isn't it?

@Gr33ndev
Copy link
Contributor Author

The reverse proxy from the first installation still exists unchanged

@Gr33ndev Gr33ndev requested a review from madebyTimo June 30, 2022 00:59
@delvh delvh changed the title Create reinstall-sonar-without-pws.txt Add files on how to reinstall SonarQube Jun 30, 2022
@madebyTimo
Copy link
Contributor

what is about the suggestions from the last review?

@delvh
Copy link
Contributor

delvh commented Jun 30, 2022

Those still have to be applied.

@Gr33ndev Gr33ndev merged commit 99d91b4 into main Jul 1, 2022
@Gr33ndev Gr33ndev deleted the documentation/add-docu-of-reinstall-of-sonar branch July 1, 2022 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants