1
+ # On-Site Version 4.0
2
+ version : " 3.6"
3
+
4
+ services :
5
+ ccdc-identity :
6
+ environment :
7
+ # Diffrent names
8
+ - OnSiteLoginSetup__EnableSingleSignOn=true
9
+ - ThirdPartyCredentials__Authority=${PUBLIC_URI}:8443/
10
+ - ThirdPartyCredentials__ClientId=ccdcidentity
11
+ - ThirdPartyCredentials__ClientSecret=${CCDC_LICENSING_CONFIGURATION}
12
+ - ThirdPartyCredentials__CallbackPath=/Identity/signin-oidc
13
+ - ThirdPartyCredentials__DisplayName=LDAP
14
+
15
+ webcsd-ldap :
16
+ environment :
17
+ - OpenIdServer__ClientId=ccdcidentity
18
+ - OpenIdServer__ClientSecret=${CCDC_LICENSING_CONFIGURATION}
19
+ - OpenIdServer__RedirectUri=${PUBLIC_URI}/Identity/signin-oidc
20
+ - ASPNETCORE_URLS=https://+:443;
21
+
22
+ # Custom LDAP Settings
23
+
24
+ # LDAP Server Address
25
+ - Ldap__Server=dc.example.com
26
+ # LDAP Default Domain
27
+ - Ldap__DefaultDomain=exampledomain
28
+ # LDAP Base DN for the user search
29
+ - Ldap__UserBaseDN=dc=example,dc=com
30
+
31
+ # Default Settings for the LDAP Bridge
32
+ # These settings should not need to change if your using Active Directory for LDAP
33
+
34
+ # LDAP Port
35
+ # - Ldap__Port=389
36
+ # User Filter to search for user in the LDAP directory to get the user details
37
+ # - Ldap__UserFilter=(&(objectClass=person)(sAMAccountName={0}))
38
+ # User Unique Account Name Attribute
39
+ # - Ldap__UniqueAccountNameAttribute=sAMAccountName
40
+ # User Display Name Attribute
41
+ # - Ldap__UserDisplayNameAttribute=displayName
42
+ # User Principal Name Attribute
43
+ # - Ldap__UserPrincipalNameAttribute=userPrincipalName
44
+ # User Email Attribute
45
+ # - Ldap__UserEmailAttribute=mail
46
+
47
+ # Change the user format to use the email address
48
+ # - Ldap__LdapUserDNFormat=username@LDAPDOMAIN
49
+
50
+
51
+ - ASPNETCORE_Kestrel__Certificates__Default__Password=password
52
+ - ASPNETCORE_Kestrel__Certificates__Default__Path=/ssl/cert.pfx
53
+ image : ccdcrepository.azurecr.io/onsite/ccdc-ldap-bridge:latest
54
+ volumes :
55
+ - ./ssl/cert.pfx:/ssl/cert.pfx:ro
56
+ ports :
57
+ - 8443:443
0 commit comments