Created
July 17, 2019 02:16
-
-
Save HamGuy/3a752816e9b02e588bbed53714cd9293 to your computer and use it in GitHub Desktop.
docker compose configure for sonaqube
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 Container | |
sonarqube: | |
image: sonarqube:6.7-community | |
container_name: sonarqube | |
ports: | |
- "9000:9000" | |
links: | |
- postgres | |
environment: | |
- SONARQUBE_JDBC_URL:jdbc:postgresql://postgres:5432/sonar | |
volumes: | |
- ./plugins/backelite-sonar-objective-c-plugin-0.6.2.jar:/opt/sonarqube/extensions/plugins/backelite-sonar-objective-c-plugin-0.6.2.jar | |
- ./conf/sonar.properties:/opt/sonarqube/conf/sonar.properties | |
#PostgreSQL Container | |
postgres: | |
image: postgres | |
volumes: | |
- ~/log/postgres:/var/lib/postgresql/data | |
ports: | |
- "5432:5432" | |
environment: | |
- POSTGRES_USER=sonar | |
- POSTGRES_PASSWORD=sonar | |
adminer: | |
image: adminer | |
restart: always | |
ports: | |
- 8088:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment