-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathdocker-compose.ldap-test.yml
More file actions
41 lines (38 loc) · 1.08 KB
/
docker-compose.ldap-test.yml
File metadata and controls
41 lines (38 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# LDAP Test Environment for PR #119 Testing
# This creates a simple LDAP server with a web UI for managing users
#
# Usage:
# 1. First start OpenTranscribe: ./opentr.sh start dev
# 2. Then start LLDAP: docker compose -f docker-compose.ldap-test.yml up -d
#
# Access:
# - LLDAP Web UI: http://localhost:17170
# - Login: admin / admin_password
#
# LDAP Connection (from host):
# - Server: ldap://localhost:3890
# - Bind DN: uid=admin,ou=people,dc=example,dc=com
# - Search Base: dc=example,dc=com
#
# LDAP Connection (from backend container):
# - Server: ldap://lldap-test:3890
services:
lldap:
image: lldap/lldap:stable
container_name: lldap-test
ports:
- "3890:3890" # LDAP port
- "17170:17170" # Web UI port
environment:
- LLDAP_JWT_SECRET=supersecretjwttokenfortest
- LLDAP_LDAP_USER_PASS=admin_password
- LLDAP_LDAP_BASE_DN=dc=example,dc=com
volumes:
- lldap_data:/data
networks:
- transcribe-app_default # Join OpenTranscribe's network
volumes:
lldap_data:
networks:
transcribe-app_default:
external: true