Skip to content
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

Local Keycloak server no longer runs #33

Closed
paulwaitehomeoffice opened this issue Aug 21, 2019 · 4 comments · Fixed by #35
Closed

Local Keycloak server no longer runs #33

paulwaitehomeoffice opened this issue Aug 21, 2019 · 4 comments · Fixed by #35
Assignees
Labels

Comments

@paulwaitehomeoffice
Copy link
Collaborator

paulwaitehomeoffice commented Aug 21, 2019

Steps to reproduce

As per https://github.com/UKHomeOffice/keycloak-theme-govuk#local-keycloak-server:

  1. Make sure you’ve installed and started Docker Community Edition
  2. $ npm install
  3. $ npm run build
  4. $ docker-compose up

Expected behaviour:

The Keycloak server will now be available on http://localhost:8080

Actual behaviour

The Keycloak server is not available, and we get some errors, possibly about not being able to get a database connection. (Console output from docker-compose up attached.)

docker-compose-error.txt

@paulwaitehomeoffice
Copy link
Collaborator Author

Hi @daniel-ac-martin . Does any of the above ring any obvious bells with you? My docker-compose knowledge is a bit limited.

@paulwaitehomeoffice
Copy link
Collaborator Author

I notice that our docker-compose file uses the links option, which according to the docs is a legacy feature and may be removed.

The docs don't say it has been removed, but I wonder if it's the cause of the Keycloak service not being able to connect to the Maria DB service.

@daniel-ac-martin
Copy link
Contributor

I don't think those lines should do any harm.

@paulwaitehomeoffice
Copy link
Collaborator Author

paulwaitehomeoffice commented Aug 22, 2019

@daniel-ac-martin I agree, although something isn't working any more for some reason. Can you successfully run docker-compose up in this repo on your computer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants