OpenLDAP docker Osixia - не удается пройти аутентификацию
Я только что попытался настроить файл docker-compose.yml согласно видео YTB и github, но безрезультатно.
version: "2"
services:
web:
# the application's web service (container) will use an image based on our Dockerfile
build: "."
# map the internal port 80 to port 8000 on the host
ports:
- "8000:80"
# map the host directory to app (which allows us to see and edit files inside the container)
volumes:
- ".:/app:rw"
- "./data:/data:rw"
# the default command to run whenever the container is launched
# command: python manage.py runserver 0.0.0.0:80
# the URL 'postgres' or 'mysql' will point to the application's db service
links:
- "database_default"
env_file: .env-local
database_default:
# Select one of the following db configurations for the database
image: postgres:9.6-alpine
environment:
POSTGRES_DB: "db"
POSTGRES_HOST_AUTH_METHOD: "trust"
SERVICE_MANAGER: "fsm-postgres"
volumes:
- ".:/app:rw"
openldap_service:
image: osixia/openldap:1.1.8
ports:
- "636:636"
volumes:
- ".:/data:rw"
environment:
- LDAP_ORGANISATION=ramhlocal
- LDAP_DOMAIN=ramhlocal.com
- LDAP_ADMIN_USERNAME=admin
- LDAP_ADMIN_PASSWORD=admin_pass
- LDAP_CONFIG_PASSWORD=config_pass
- "LDAP_BASE_DN=dc=ramhlocal,dc=com"
- LDAP_TLS_CRT_FILENAME=server.crt
- LDAP_TLS_KEY_FILENAME=server.key
- LDAP_TLS_CA_CRT_FILENAME=ramhlocal.com.ca.crt
- LDAP_READONLY_USER=true
- LDAP_READONLY_USER_USERNAME=user-ro
- LDAP_READONLY_USER_PASSWORD=ro_pass
phpldapadmin-service:
image: osixia/phpldapadmin:0.9.0
environment:
- PHPLDAPADMIN_LDAP_HOSTS=127.0.0.1
ports:
- "6443:443"
volumes:
- ".:/data:rw"
Я могу зайти в phpldapadmin, но он показывает следующее:введите описание изображения здесь
Можно ли узнать, в чем проблема? Я хочу аутентифицировать пользователя admin.
Большое спасибо!