Comments (2)
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from springboot-keycloak-openldap.