diff options
author | Alex Auvolat <alex@adnab.me> | 2020-02-15 16:02:16 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-02-15 16:20:47 +0100 |
commit | afaf89f7512036318bd7a187c91e19601b7470d6 (patch) | |
tree | aed6c827b65119c29ee41e9396165332f1c64590 /consul/configuration/seafile/conf | |
parent | 6da7ecfa9f001f3a51a1bb183c782821934dec0c (diff) | |
download | infrastructure-afaf89f7512036318bd7a187c91e19601b7470d6.tar.gz infrastructure-afaf89f7512036318bd7a187c91e19601b7470d6.zip |
Add missing templated passwords
Diffstat (limited to 'consul/configuration/seafile/conf')
-rw-r--r-- | consul/configuration/seafile/conf/seafile.conf.tpl (renamed from consul/configuration/seafile/conf/seafile.conf.sample) | 2 | ||||
-rw-r--r-- | consul/configuration/seafile/conf/seahub_settings.py.tpl (renamed from consul/configuration/seafile/conf/seahub_settings.py.sample) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/consul/configuration/seafile/conf/seafile.conf.sample b/consul/configuration/seafile/conf/seafile.conf.tpl index cfe3592..f224234 100644 --- a/consul/configuration/seafile/conf/seafile.conf.sample +++ b/consul/configuration/seafile/conf/seafile.conf.tpl @@ -11,7 +11,7 @@ type = mysql host = mariadb.service.2.cluster.deuxfleurs.fr port = 3306 user = seafile -password = <to be defined> +password = {{ key "secrets/seafile/ccnet/mysql_pwd" | trimSpace }} db_name = seafile-db connection_charset = utf8 diff --git a/consul/configuration/seafile/conf/seahub_settings.py.sample b/consul/configuration/seafile/conf/seahub_settings.py.tpl index 06aa7d3..6c63ee4 100644 --- a/consul/configuration/seafile/conf/seahub_settings.py.sample +++ b/consul/configuration/seafile/conf/seahub_settings.py.tpl @@ -5,7 +5,7 @@ DATABASES = { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'seahub-db', 'USER': 'seafile', - 'PASSWORD': '<to be defined>', + 'PASSWORD': '{{ key "secrets/seafile/ccnet/mysql_pwd" | trimSpace }}', 'HOST': 'mariadb.service.2.cluster.deuxfleurs.fr', 'PORT': '3306', 'OPTIONS': { |