ungleich-user/dev/env.dev
Sajeyks 692c1b1657 Add local OpenLDAP 2.6 test server for development
Alpine 3.24 based slapd with the production directory layout
(dc=ungleich,dc=ch, ou=customers, ou=users) and the openssh-lpk schema.
The app runs natively against it on ldap://localhost:3389.
Includes dev/env.dev with dev-only settings (cp dev/env.dev .env).
2026-11-06 14:46:24 +03:00

30 lines
1,006 B
Text

# Local development settings for the dev LDAP container (docker-compose.dev.yml).
# Dev-only credentials, not secrets. Use with: cp dev/env.dev .env
LDAPSERVER="ldap://localhost:3389"
LDAP_SERVER="ldap://localhost:3389"
LDAP_ADMIN_DN="cn=admin,dc=ungleich,dc=ch"
LDAP_ADMIN_PASSWORD="admin"
LDAP_CUSTOMER_DN="ou=customers,dc=ungleich,dc=ch"
LDAP_USERS_DN="ou=users,dc=ungleich,dc=ch"
LDAP_CUSTOMER_GROUP_ID=2000
LDAP_DEFAULT_START_UID=10000
# Space separated list of search bases for users
LDAPSEARCH="ou=customers,dc=ungleich,dc=ch ou=users,dc=ungleich,dc=ch"
ENTIRE_SEARCH_BASE="dc=ungleich,dc=ch"
SECRET_KEY="dev-only-not-a-secret"
ALLOWED_HOSTS="localhost,127.0.0.1,testserver"
DEBUG=True
ENABLE_DEBUG_LOG=False
EMAIL_FROM_ADDRESS="noreply@example.com"
# OTP server: not run locally; tests mock HTTP calls to it.
ALLOWED_REALMS="ungleich-admin,ungleich-auth"
OTPSERVER="http://localhost:9999/"
ADMIN_SEED="JBSWY3DPEHPK3PXP"
ADMIN_NAME="dev"
ADMIN_REALM="ungleich-admin"
USER_REALM="ungleich-auth"