mirror of
https://gitlab.com/jarylc/docker-duoauthproxy.git
synced 2026-02-04 14:26:45 +00:00
Initial commit
This commit is contained in:
24
examples/lldap/conf/authproxy.cfg
Normal file
24
examples/lldap/conf/authproxy.cfg
Normal file
@@ -0,0 +1,24 @@
|
||||
; Complete documentation about the Duo Auth Proxy can be found here:
|
||||
; https://duo.com/docs/authproxy_reference
|
||||
|
||||
[main]
|
||||
log_stdout=true
|
||||
|
||||
[ad_client]
|
||||
host=lldap
|
||||
port=3890
|
||||
auth_type=plain
|
||||
bind_dn=uid=admin,ou=people,dc=example,dc=com
|
||||
service_account_username=admin
|
||||
service_account_password=password
|
||||
search_dn=ou=people,dc=example,dc=com
|
||||
username_attribute=uid
|
||||
at_attribute=mail
|
||||
|
||||
[ldap_server_auto]
|
||||
ikey=DIXXXXXXXXXXXXXXXXXX
|
||||
skey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
api_host=api-XXXXXXXX.duosecurity.com
|
||||
failmode=secure
|
||||
client=ad_client
|
||||
port=1812
|
||||
17
examples/lldap/docker-compose.yml
Normal file
17
examples/lldap/docker-compose.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
services:
|
||||
lldap:
|
||||
image: lldap/lldap:stable
|
||||
ports:
|
||||
- "3890:3890"
|
||||
environment:
|
||||
- LLDAP_JWT_SECRET=SAMPLE_JWT_SECRET
|
||||
- LLDAP_KEY_SEED=SAMPLE_KEY_SEED
|
||||
- LLDAP_LDAP_BASE_DN=dc=example,dc=com
|
||||
duoauthproxy:
|
||||
image: jarylc/duoauthproxy:latest
|
||||
ports:
|
||||
- "1812:1812"
|
||||
volumes:
|
||||
- ./conf/authproxy.cfg:/app/conf/authproxy.cfg
|
||||
depends_on:
|
||||
- lldap
|
||||
Reference in New Issue
Block a user