aboutsummaryrefslogtreecommitdiff
path: root/consul/configuration/seafile/conf/ccnet.conf.tpl
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2020-02-15 16:23:00 +0100
committerGitea <gitea@fake.local>2020-02-15 16:23:00 +0100
commitc49647e95e2658894ec422495a0cdd56480473d3 (patch)
treeaed6c827b65119c29ee41e9396165332f1c64590 /consul/configuration/seafile/conf/ccnet.conf.tpl
parentca787155c9f6b247ffc8718e963aad0fffeb5044 (diff)
parentafaf89f7512036318bd7a187c91e19601b7470d6 (diff)
downloadinfrastructure-c49647e95e2658894ec422495a0cdd56480473d3.tar.gz
infrastructure-c49647e95e2658894ec422495a0cdd56480473d3.zip
Merge branch 'wip_seafile' of Deuxfleurs/deuxfleurs.fr into master
Diffstat (limited to 'consul/configuration/seafile/conf/ccnet.conf.tpl')
-rw-r--r--consul/configuration/seafile/conf/ccnet.conf.tpl29
1 files changed, 29 insertions, 0 deletions
diff --git a/consul/configuration/seafile/conf/ccnet.conf.tpl b/consul/configuration/seafile/conf/ccnet.conf.tpl
new file mode 100644
index 0000000..2395a9b
--- /dev/null
+++ b/consul/configuration/seafile/conf/ccnet.conf.tpl
@@ -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
+