Giter VIP home page Giter VIP logo

Comments (2)

ivangfr avatar ivangfr commented on June 6, 2024 1

Hi! You need to provide the ip address of your machine. If your are using Mac or Linux, type on the terminal ifconfig. Windows must be ipconfig. Let's suppose it is 10.10.10.90. Then, you set in the field: ldap://10.10.10.90.

Or, you can run the following command to get the ldap-service-docker-ip-address:

docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' ldap-service

Then you add the ip address returned in the field, ldap://<ldap-service-docker-ip-address>

Btw, it seems that it is not working the Keycloak test buttons to check if the LDAP connections is ok (version 4.0.0.Beta1).

I also updated the README adding a better explanation about how to get the ldap-service address.

from springboot-keycloak-openldap.

psc-dibuco avatar psc-dibuco commented on June 6, 2024 1

heyho,

thank you very much. all my errors were caused by using the 4.0.0 beta docker container.

if you want to use the old docker version the environment variables have to be changed:

postgres:
image: postgres
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: keycloak
POSTGRES_USER: keycloak
POSTGRES_PASSWORD: password
ports:
- 5432:5432

keycloak:
image: jboss/keycloak:3.4.3.Final # this version needs different env-variables
hostname: keycloak
container_name: keycloak
environment:
- POSTGRES_USER=keycloak
- POSTGRES_DATABASE=keycloak
- POSTGRES_PASSWORD=password
- POSTGRES_PORT_5432_TCP_ADDR=postgres
- POSTGRES_PORT_5432_TCP_PORT=5432
- KEYCLOAK_USER=admin
- KEYCLOAK_PASSWORD=password
ports:
- 8181:8080
depends_on:
- postgres

ty again!

from springboot-keycloak-openldap.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.