mirror of
https://github.com/technorabilia/docker-bits
synced 2024-11-10 13:10:31 +00:00
28 lines
1.3 KiB
YAML
28 lines
1.3 KiB
YAML
# [Ldap-auth](https://github.com/nginxinc/nginx-ldap-auth) software is for
|
||
# authenticating users who request protected resources from servers proxied by
|
||
# nginx. It includes a daemon (ldap-auth) that communicates with an
|
||
# authentication server, and a webserver daemon that generates an authentication
|
||
# cookie based on the user’s credentials. The daemons are written in Python for
|
||
# use with a Lightweight Directory Access Protocol (LDAP) authentication server
|
||
# (OpenLDAP or Microsoft Windows Active Directory 2003 and 2012).
|
||
|
||
---
|
||
version: "2.1"
|
||
services:
|
||
ldap-auth:
|
||
image: ghcr.io/linuxserver/ldap-auth
|
||
container_name: ldap-auth
|
||
environment:
|
||
# Optionally define a custom valid fernet key (only needed if container is frequently recreated, or if using multi-node setups, invalidating previous authentications)
|
||
- FERNETKEY= # optional
|
||
# Optionally point this to a certificate file to enable HTTP over SSL (HTTPS) for the ldap auth daemon
|
||
- CERTFILE= # optional
|
||
# Optionally point this to the private key file, matching the certificate file referred to in CERTFILE
|
||
- KEYFILE= # optional
|
||
ports:
|
||
# the port for ldap auth daemon
|
||
- 8888:8888
|
||
# the port for ldap login page
|
||
- 9000:9000
|
||
restart: unless-stopped
|