docker-ovh/codimd/Dockerfile
2021-01-15 22:16:47 +01:00

19 lines
657 B
Docker

FROM quay.io/hedgedoc/hedgedoc:1.7.2-alpine
ENV DEBUG=false
ENV CMD_DB_URL=postgres://codimd:codimdpass@postgres:5432/codimd
ENV CMD_EMAIL=true
ENV CMD_ALLOW_EMAIL_REGISTER=true
ENV CMD_PROTOCOL_USESSL=true
ENV CMD_DOMAIN=codimd.auro.re
ENV CMD_ALLOW_FREEURL=true
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
ENV CMD_USECDN=false
ENV CMD_AUTO_VERSION_CHECK=false