18 lines
622 B
Docker
18 lines
622 B
Docker
FROM quay.io/codimd/server:1.5.0
|
|
|
|
ENV DEBUG=false
|
|
ENV CMD_DB_URL=postgres://codimd:codimdpass@postgres:5432/codimd
|
|
ENV CMD_URL_ADDPORT=false
|
|
ENV CMD_EMAIL=false
|
|
ENV CMD_DOMAIN=codimd.auro.re
|
|
ENV CMD_PROTOCOL_USESSL=true
|
|
ENV CMD_ALLOW_FREEURL=true
|
|
ENV CMD_IMAGE_UPLOAD_TYPE=filesystem
|
|
ENV CMD_LDAP_URL=ldap://10.128.0.11
|
|
ENV CMD_LDAP_BINDDN=cn=codimd,ou=service-users,dc=auro,dc=re
|
|
ENV CMD_LDAP_SEARCHBASE=cn=Utilisateurs,dc=auro,dc=re
|
|
ENV CMD_LDAP_SEARCHFILTER=(uid={{username}})
|
|
ENV CMD_LDAP_SEARCHATTRIBUTES=uid,givenName,mail
|
|
ENV CMD_LDAP_USERIDFIELD=uid
|
|
ENV CMD_LDAP_USERNAMEFIELD=uid
|
|
ENV CMD_LDAP_PROVIDERNAME=Aurore
|