docker-ovh/codimd/Dockerfile

20 lines
657 B
Docker
Raw Normal View History

2021-01-15 22:16:47 +01:00
FROM quay.io/hedgedoc/hedgedoc:1.7.2-alpine
2020-02-03 13:12:31 +01:00
ENV DEBUG=false
ENV CMD_DB_URL=postgres://codimd:codimdpass@postgres:5432/codimd
2021-01-06 22:31:00 +01:00
ENV CMD_EMAIL=true
ENV CMD_ALLOW_EMAIL_REGISTER=true
2020-02-03 13:12:31 +01:00
ENV CMD_PROTOCOL_USESSL=true
2021-01-06 22:31:00 +01:00
ENV CMD_DOMAIN=codimd.auro.re
2020-02-03 13:12:31 +01:00
ENV CMD_ALLOW_FREEURL=true
2021-02-07 13:15:00 +01:00
ENV CMD_LDAP_URL=ldap://10.128.0.21
2020-02-03 13:12:31 +01:00
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
2021-01-06 22:31:00 +01:00
ENV CMD_USECDN=false
ENV CMD_AUTO_VERSION_CHECK=false