Skip to content

Commit

Permalink
Update sonarqube.yml
Browse files Browse the repository at this point in the history
- Setup the last version of sonarqube
- Add ports
  • Loading branch information
juanmarin97 authored Oct 6, 2023
1 parent 8cbf313 commit 46f7018
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions public/v4/apps/sonarqube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ services:
POSTGRES_INITDB_ARGS: $$cap_pg_initdb_args
caproverExtra:
notExposeAsWebApp: 'true'
ports:
- 5432:5432
$$cap_appname:
image: sonarqube:$$cap_sonar_version
depends_on:
Expand All @@ -25,7 +27,7 @@ services:
environment:
SONAR_JDBC_USERNAME: sonarqube
SONAR_JDBC_PASSWORD: $$cap_pg_pass
SONAR_JDBC_URL: jdbc:postgresql://srv-captain--$$cap_appname-db/sonarqube
SONAR_JDBC_URL: jdbc:postgresql://srv-captain--$$cap_appname-db:5432/sonarqube
caproverExtra:
containerHttpPort: '9000'
caproverOneClickApp:
Expand All @@ -37,7 +39,7 @@ caproverOneClickApp:
validRegex: /^([^\s^\/])+$/
- id: $$cap_sonar_version
label: Sonarqube Version
defaultValue: 7.7-community
defaultValue: 10.2.1-community
description: Check out their Docker page for the valid tags https://hub.docker.com/_/sonarqube?tab=tags/
validRegex: /^([^\s^\/])+$/
- id: $$cap_pg_pass
Expand Down

0 comments on commit 46f7018

Please sign in to comment.