Skip to content

Commit

Permalink
update version, update docker compose (#48)
Browse files Browse the repository at this point in the history
* update version, update docker compose

Signed-off-by: Nicklas Körtge <nicklas.koertge1@ibm.com>

* update dependabot conf

Signed-off-by: Nicklas Körtge <nicklas.koertge1@ibm.com>

---------

Signed-off-by: Nicklas Körtge <nicklas.koertge1@ibm.com>
  • Loading branch information
n1ckl0sk0rtge authored Jul 16, 2024
1 parent 16fb864 commit ef6e322
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 5 deletions.
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,22 @@ version: 2
updates:
- package-ecosystem: maven
directory: /
target-branch: "main"
schedule:
interval: daily
- package-ecosystem: github-actions
directory: /
target-branch: "main"
schedule:
interval: weekly

- package-ecosystem: maven
directory: /
target-branch: "dev/1.x.x"
schedule:
interval: daily
- package-ecosystem: github-actions
directory: /
target-branch: "dev/1.x.x"
schedule:
interval: weekly
32 changes: 28 additions & 4 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,39 @@
version: "3"
services:
sonarqube:
image: sonarqube
user: "${UID}:${GID}"
image: sonarqube:10-community
user: "${UID}"
volumes:
- sonar-data:/opt/sonarqube/data
- ./.SonarQube/plugins/:/opt/sonarqube/extensions/plugins/
- sonar-logs:/opt/sonarqube/logs
- ./.SonarQube/conf/:/opt/sonarqube/conf/
ports:
- "9000:9000"
depends_on:
db:
condition: service_healthy
environment:
SONAR_JDBC_URL: jdbc:postgresql://db:5432/sonar
SONAR_JDBC_USERNAME: sonar
SONAR_JDBC_PASSWORD: sonar
command:
- "-Dsonar.es.bootstrap.checks.disable=true"
db:
image: postgres:15-alpine
healthcheck:
test: [ "CMD-SHELL", "pg_isready" ]
interval: 10s
timeout: 5s
retries: 5
environment:
POSTGRES_USER: sonar
POSTGRES_PASSWORD: sonar
POSTGRES_DB: sonar
volumes:
- sonar-postgresql:/var/lib/postgresql
- sonar-postgresql_data:/var/lib/postgresql/data
volumes:
sonar-logs:
sonar-data:
sonar-data:
sonar-postgresql:
sonar-postgresql_data:
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<module>sonar-cryptography-plugin</module>
</modules>

<version>1.1.4-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
<name>sonar-cryptography</name>
<organization>
<name>IBM</name>
Expand Down

0 comments on commit ef6e322

Please sign in to comment.