1
0
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:
Jaryl Chng
2024-04-12 09:55:21 +08:00
commit 6e7d6c667c
12 changed files with 276 additions and 0 deletions

View 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

View 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