diff options
author | Alex Auvolat <alex@adnab.me> | 2020-02-11 21:52:57 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-02-15 16:20:47 +0100 |
commit | acdb34027b361cccfe6200ed8f087aa146d0ab55 (patch) | |
tree | 2a5b77339c74b83b2d0f6b11919063e24dfc8acf /consul/configuration/seafile/conf/ccnet.conf | |
parent | ca787155c9f6b247ffc8718e963aad0fffeb5044 (diff) | |
download | infrastructure-acdb34027b361cccfe6200ed8f087aa146d0ab55.tar.gz infrastructure-acdb34027b361cccfe6200ed8f087aa146d0ab55.zip |
WIP: update mysql/seafile to use their own ldap user in ou=services
Diffstat (limited to 'consul/configuration/seafile/conf/ccnet.conf')
-rw-r--r-- | consul/configuration/seafile/conf/ccnet.conf | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/consul/configuration/seafile/conf/ccnet.conf b/consul/configuration/seafile/conf/ccnet.conf new file mode 100644 index 0000000..2395a9b --- /dev/null +++ b/consul/configuration/seafile/conf/ccnet.conf @@ -0,0 +1,29 @@ +[General] +USER_NAME = deuxfleurs +ID = {{ key "secrets/seafile/ccnet/seafile_id" | trimSpace }} +NAME = deuxfleurs +SERVICE_URL = https://cloud.deuxfleurs.fr + +[Network] +PORT = 10001 + +[Client] +PORT = 13418 + +[LDAP] +HOST = ldap://bottin2.service.2.cluster.deuxfleurs.fr/ +BASE = ou=users,dc=deuxfleurs,dc=fr +USER_DN = {{ key "secrets/seafile/ccnet/ldap_binddn" | trimSpace }} +FILTER = memberOf=CN=seafile,OU=groups,DC=deuxfleurs,DC=fr +PASSWORD = {{ key "secrets/seafile/ccnet/ldap_bindpwd" | trimSpace }} +LOGIN_ATTR = mail + +[Database] +ENGINE = mysql +HOST = mariadb.service.2.cluster.deuxfleurs.fr +PORT = 3306 +USER = seafile +PASSWD = {{ key "secrets/seafile/ccnet/mysql_pwd" | trimSpace }} +DB = ccnet-db +CONNECTION_CHARSET = utf8 + |