Open pankaj-singh-chauhan opened 2 years ago
Check your /etc/hosts
file may be you are using your default port for other application.
Change the port in your docker compose file to Eg-9000 so that you can access applications on the 9000 port.
version: '2'
services:
postgresql:
image: docker.io/bitnami/postgresql:10
environment:
- ALLOW_EMPTY_PASSWORD=yes
volumes:
- 'postgresql_data:/bitnami/postgresql'
sonarqube:
image: docker.io/bitnami/sonarqube:8
ports:
- '9000:9000'
environment:
- POSTGRESQL_HOST=postgresql
- POSTGRESQL_ROOT_USER=postgres
- POSTGRESQL_CLIENT_CREATE_DATABASE_NAME=bitnami_sonarqube
- POSTGRESQL_CLIENT_CREATE_DATABASE_USERNAME=bn_sonarqube
- POSTGRESQL_CLIENT_CREATE_DATABASE_PASSWORD=bitnami1234
- SONARQUBE_DATABASE_NAME=bitnami_sonarqube
- SONARQUBE_DATABASE_USER=bn_sonarqube
- SONARQUBE_DATABASE_PASSWORD=bitnami1234
volumes:
- sonarqube_data:/bitnami
volumes:
sonarqube_data:
driver: local
postgresql_data:
driver: local
I'm also facing the issue while running container
In the error only you have the solution , please check your docker-compose file.
After doing that I got this. I'm using windows system.
I am also facing issue. I have changed the port to 9000 and then 90. But it's still not showin in my browser
And If I change postgresql:13 to postgresql:10