Created
January 15, 2025 18:05
-
-
Save tranphuquy19/f00507142073fc4852c2130e460ba0a6 to your computer and use it in GitHub Desktop.
sonarqube.docker-compose.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
sonarqube: | |
image: sonarqube:latest | |
ports: | |
- "9000:9000" | |
environment: | |
- SONAR_ES_BOOTSTRAP_CHECKS_DISABLE=true | |
volumes: | |
- sonar_sonarqube_data:/opt/sonarqube/data | |
- sonar_sonarqube_extensions:/opt/sonarqube/extensions | |
- sonar_sonarqube_logs:/opt/sonarqube/logs | |
postgres: | |
image: postgres:13 | |
environment: | |
- POSTGRES_USER=sonar | |
- POSTGRES_PASSWORD=sonarpassword | |
volumes: | |
- postgresql:/var/lib/postgresql | |
- postgresql_data:/var/lib/postgresql/data | |
volumes: | |
sonar_sonarqube_data: | |
external: true | |
sonar_sonarqube_extensions: | |
external: true | |
sonar_sonarqube_logs: | |
external: true | |
postgresql: | |
postgresql_data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment