add dn & dnpass

This commit is contained in:
Sebastian Hugentobler 2017-09-22 18:35:52 +02:00
parent 2acef539b1
commit cdcbd3731c
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
FROM registry.gitlab.com/thallian/docker-confd-env:master FROM registry.gitlab.com/thallian/docker-confd-env:master
RUN apk add --no-cache dovecot dovecot-ldap libressl ssmtp RUN apk add --no-cache dovecot dovecot-ldap libressl ssmtp ca-certificates
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main \ RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main \
dovecot-pigeonhole-plugin-ldap dovecot-pigeonhole-plugin-ldap

View File

@ -1,4 +1,6 @@
uris = {{getenv "LDAP_URI"}} uris = {{getenv "LDAP_URI"}}
dn = {{getenv "LDAP_BIND_DN"}}
dnpass = {{getenv "LDAP_BIND_PASSWORD"}}
tls = {{getenv "LDAP_USE_TLS" "yes"}} tls = {{getenv "LDAP_USE_TLS" "yes"}}
auth_bind = yes auth_bind = yes
base = {{getenv "LDAP_BASE_DN"}} base = {{getenv "LDAP_BASE_DN"}}