-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bitnami/keycloak] It says "It works!", but not actually works as expected. #76684
Comments
Hi @imchaitu, Could you please provide more details? What docker-compose did you use? We do provide an example docker-compose in this repository that can be used as base for a development deployment: I deployed it and wasn't able to reproduce your issue, and Keycloak UI is available at localhost. As a side note, I would like to mention that the docker-composes are community-maintained and they are not recommended for production use, as mentioned in the README: https://github.com/bitnami/containers/tree/main/bitnami/keycloak#using-docker-composeyaml I recommend using our keycloak Helm chart instead of the docker-compose, you will have a ready-to-use deployment quick and easy, and you could use that as a starting point to move from a development environment to a production-ready environment. To Install the Helm chart you only need a Kubernetes environment of your choice and run the command:
That command will deploy for you the latest version of the chart with default settings, and you can find further information about how to further customize your deployment in the README and the values.yaml. |
Please see the screenshots:
1. The output of 'docker ps'
![Image](https://github.com/user-attachments/assets/ae1d1929-e1c9-44af-a265-a828eea395e5)
2. The browser when hit 'localhost'
![Image](https://github.com/user-attachments/assets/206e1977-5d57-455d-a771-3cbbc490892a)
I expect it to display keycloak UI. If the path is different from
'localhost' it should be mentioned somewhere, no?
…On Wed, Jan 29, 2025 at 9:06 AM Miguel Ruiz ***@***.***> wrote:
Hi @imchaitu <https://github.com/imchaitu>,
Could you please provide more details? What docker-compose did you use?
We do provide an example docker-compose in this repository that can be
used as base for a development deployment:
https://github.com/bitnami/containers/blob/main/bitnami/keycloak/docker-compose.yml
I deployed it and wasn't able to reproduce your issue, and Keycloak UI is
available at localhost.
As a side note, I would like to mention that the docker-composes are
community-maintained and they are not recommended for production use, as
mentioned in the README:
https://github.com/bitnami/containers/tree/main/bitnami/keycloak#using-docker-composeyaml
I recommend using our keycloak Helm chart instead of the docker-compose,
you will have a ready-to-use deployment quick and easy, and you could use
that as a starting point to move from a development environment to a
production-ready environment.
To Install the Helm chart you only need a Kubernetes environment of your
choice and run the command:
helm install my-release oci://registry-1.docker.io/bitnamicharts/keycloak
That command will deploy for you the latest version of the chart with
default settings, and you can find further information about how to further
customize your deployment in the README
<https://github.com/bitnami/charts/blob/main/bitnami/keycloak/README.md>
and the values.yaml
<https://github.com/bitnami/charts/blob/main/bitnami/keycloak/values.yaml>
.
—
Reply to this email directly, view it on GitHub
<#76684 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEKPCMQX2KGTUCFCROTF6ZD2NCDYDAVCNFSM6AAAAABV5Y4QAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRQHE2DANRTHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @imchaitu, I'm sorry but I'm unable to reproduce your issue. I would say the "It works!" page corresponds to the default page from an apache webserverm but the I suspect you may have the port localhost:80 occupied by another service (an Apache webserver, maybe not deployed with docker) and that is the reason why you are seeing that instead of the Keycloak UI. Please try using a different port in your Keycloak docker compose (81:8080) and give it a try at http://localhost:81 Additionally, you can see what process is actually using the port 80 using the commands |
Hello @migruiz4 , Anyway, thank you for taking the issue seriously. |
Name and Version
latest
What architecture are you using?
None
What steps will reproduce the bug?
Just run the yaml example given in the docker hub page.
What is the expected behavior?
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: