Comments (4)
Having the same problem as well.
from docker-sonarqube.
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.
@jarrod268 please let me know if somehow you find to solve the issue.
Thanks @Godin for the explanation.
from docker-sonarqube.
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)
- Add curl to container to allow native Docker healthchecks HOT 2
- docker run -e 的参数是在哪里定义的?为什么有的可以有的不行 HOT 5
- sonarqube dashboard show 0% code coverage sometime. HOT 1
- Can't find rule `Promises should not be misused` HOT 3
- sonarqube token dissappears almost immediately on AWS ec2, HOT 3
- SonarQube docker: wrong ownership of mounted volumn HOT 3
- Docker image deploy ulimit and baseos HOT 1
- Trying to upgrade sonar 9.9.0-developer edition to latest (10.1.0-developer), build is successful but not generating the sonar report from azure devops
- SonarQube 10.2 does not start with postgres 15.4 HOT 2
- There is insufficient memory for the Java Runtime Environment to continue. HOT 3
- Missing linux/amd64 for version 10.2.1-xxx HOT 2
- permissions issues with 9.9 HOT 5
- Option to use alpine version again HOT 10
- Security hardening for Sonarqube POD/containers deployed through HELM charts in Azure Kubernetes cluster HOT 1
- Docker image cant run due to java issue HOT 2
- Elasticsearch error HOT 8
- gid=0 will violate future Pod Security Standards Restricted Profile HOT 5
- root Group not compliant with Baseline PodSecurityStandard HOT 1
- Resolve vulnerabilities in docker images HOT 5
- Include necessary port bind on documentation HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-sonarqube.