Last active
April 13, 2016 08:58
-
-
Save junxy/65ee6e822e0401a615245d1093135f0c 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
sonarqube: | |
restart: always | |
image: sonarqube:latest | |
links: | |
- postgresql:postgresql | |
ports: | |
- "9000:9000" | |
environment: | |
- SONARQUBE_JDBC_URL=jdbc:postgresql://postgresql/sonar_production | |
volumes: | |
- /srv/docker/sonarqube/data:/opt/sonarqube/data | |
- /srv/docker/sonarqube/extensions:/opt/sonarqube/extensions | |
postgresql: | |
restart: always | |
image: sameersbn/postgresql:9.4-18 | |
environment: | |
- DB_USER=sonar | |
- DB_PASS=sonar | |
- DB_NAME=sonar_production | |
# - DB_EXTENSION=pg_trgm | |
volumes: | |
- /srv/docker/sonarqube/postgresql:/var/lib/postgresql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment