-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (37 loc) · 1.64 KB
/
docker-compose.yml
File metadata and controls
38 lines (37 loc) · 1.64 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
# Development server
services:
lldap:
image: lldap/lldap:stable
ports:
# For LDAP, not recommended to expose, see Usage section.
- "3890:3890"
# For LDAPS (LDAP Over SSL), enable port if LLDAP_LDAPS_OPTIONS__ENABLED set true, look env below
#- "6360:6360"
# For the web front-end
- "17170:17170"
volumes:
- "./lldap_data:/data"
environment:
- UID=1000
- GID=1000
- TZ=Europe/Madrid
- LLDAP_JWT_SECRET=secret1234
- LLDAP_KEY_SEED=secret1234
- LLDAP_LDAP_BASE_DN="dc=ceetsii,dc=uma,dc=es"
- LLDAP_LDAP_USER_PASS=secret1234
# If using SMTP, set the following variables
- LLDAP_SMTP_OPTIONS__ENABLE_PASSWORD_RESET=true
- LLDAP_SMTP_OPTIONS__SERVER=mailpit
- LLDAP_SMTP_OPTIONS__PORT=1025 # Check your smtp provider's documentation for this setting
- LLDAP_SMTP_OPTIONS__SMTP_ENCRYPTION=TLS # How the connection is encrypted, either "NONE" (no encryption, port 25), "TLS" (sometimes called SSL, port 465) or "STARTTLS" (sometimes called TLS, port 587).
- LLDAP_SMTP_OPTIONS__USER=no-reply@example.com # The SMTP user, usually your email address
# - LLDAP_SMTP_OPTIONS__PASSWORD=PasswordGoesHere # The SMTP password
- LLDAP_SMTP_OPTIONS__FROM=no-reply <no-reply@example.com> # The header field, optional: how the sender appears in the email. The first is a free-form name, followed by an email between <>.
# - LLDAP_SMTP_OPTIONS__TO=admin <admin@example.com> # Same for reply-to, optional.
mailpit:
image: axllent/mailpit
container_name: mailpit
restart: unless-stopped
ports:
- 8025:8025
- 1025:1025