TykTechnologies / tyk-demo

Tyk Docker Demo with full Pro Tyk Installation and more!
52 stars 12 forks source link

Added Keycloak DCR #141

Closed rewsmith closed 2 years ago

davegarvey commented 2 years ago

Thanks. Will review when I'm back from holiday

davegarvey commented 2 years ago

@rewsmith I'm getting an issue in the bootstrap not getting on 'ok' response from Keycloak:

Fri 18 Feb 2022 04:13:05 UTC Waiting for Keycloak to respond ok
Fri 18 Feb 2022 04:13:05 UTC   Expecting 200 response from http://keycloak:8180/auth/
Fri 18 Feb 2022 04:13:05 UTC     Attempt 1 unsuccessful, received ''

I believe it's because I don't have a binding for keycloak in my /etc/hosts file, as I can access Keycloak ok on localhost:8180.

To resolve, you can do one of two things.

  1. Add an the keycloak hostname to the tyk_demo_hostnames array on line 6 of scripts/common.sh.
  2. Change the hostname to use localhost instead.
davegarvey commented 2 years ago

I should also say that I think this is a great addition, thanks! 🎉

rewsmith commented 2 years ago

Good spot @davegarvey! I've gone with option (1) and added a keycloak hostname to the tyk_demo_hostnames array on line 6 of scripts/common.sh