Created
February 8, 2020 13:03
-
-
Save guiferrpereira/e597c2656ff09e8a1c8ab16332772d92 to your computer and use it in GitHub Desktop.
This file contains 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.3" | |
services: | |
sonarqube: | |
image: sonarqube:lts | |
deploy: | |
replicas: 1 | |
labels: | |
- com.df.notify=true | |
- com.df.port=9000 | |
- com.df.httpsOnly=false | |
- com.df.serviceDomain=sonar.cablelabs.com | |
- com.df.servicePath=/ | |
environment: | |
- sonar.jdbc.url=jdbc:postgresql://db:5432/sonar | |
volumes: | |
- /data/sonar/conf:/opt/sonarqube/conf | |
- /data/sonar/data:/opt/sonarqube/data | |
- /data/sonar/logs:/opt/sonarqube/logs | |
- /data/sonar/extensions:/opt/sonarqube/extensions | |
networks: | |
- sonarnet | |
- proxy | |
db: | |
image: postgres:latest | |
environment: | |
- POSTGRES_USER=sonar | |
- POSTGRES_PASSWORD=sonar | |
volumes: | |
- /data/sonar/db:/var/lib/postgresql/data | |
networks: | |
- sonarnet | |
networks: | |
sonarnet: | |
external: false | |
proxy: | |
external: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment