Coder Social home page Coder Social logo

Comments (4)

jarrod-marshall avatar jarrod-marshall commented on June 28, 2024

Having the same problem as well.

from docker-sonarqube.

Godin avatar Godin commented on June 28, 2024

Cannot reproduce using PostgreSQL:

docker run -it --rm --name some-postgres \
  -e POSTGRES_USER=myuser \
  -e POSTGRES_PASSWORD=mysecretpassword \
  -e POSTGRES_DB=sonar \
  postgres

docker run -it --rm --name sonarqube \
  -p 9000:9000 \
  --link some-postgres:postgres \
  -e SONARQUBE_JDBC_USERNAME=myuser \
  -e SONARQUBE_JDBC_PASSWORD=mysecretpassword \
  -e SONARQUBE_JDBC_URL=jdbc:postgresql://postgres:5432/sonar \
  sonarqube:6.3.1-alpine

second container with SonarQube 6.3.1 successfully connects to the first one.

Answering on the question

Did something change regarding connecting to the database?

This repository contains files to build Docker image for SonarQube and nothing more, i.e. not the SonarQube itself. The only changes in this repository between image for 6.0 and image for 6.3.1 are updates of SonarQube version - 5dc2733...476d459 About the changes in SonarQube itself please refer to its repository changelog/release notes/upgrade notes. But AFAIK there were no changes in regards to database connection. For the questions about SonarQube you'd better reach out to wider audience of community - there are various communication channels, such as Google Group: https://www.sonarqube.org/community/

In absence of clear steps to reproduce the issue and hence evidences that there is a problem specifically in files for image and not in a particular setup/environment, I'm closing this ticket.

Thank you for your understanding.

from docker-sonarqube.

larruda avatar larruda commented on June 28, 2024

@jarrod268 please let me know if somehow you find to solve the issue.
Thanks @Godin for the explanation.

from docker-sonarqube.

jarrod-marshall avatar jarrod-marshall commented on June 28, 2024

This works fine on a VM with the latest version of docker-compose, however the Azure extension for docker is behind a little on the docker-compose version and they may be the culprit for me.

from docker-sonarqube.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.