aboutsummaryrefslogtreecommitdiff
path: root/nomad/seafile.hcl
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-11 21:52:57 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-15 16:20:47 +0100
commitacdb34027b361cccfe6200ed8f087aa146d0ab55 (patch)
tree2a5b77339c74b83b2d0f6b11919063e24dfc8acf /nomad/seafile.hcl
parentca787155c9f6b247ffc8718e963aad0fffeb5044 (diff)
downloadinfrastructure-acdb34027b361cccfe6200ed8f087aa146d0ab55.tar.gz
infrastructure-acdb34027b361cccfe6200ed8f087aa146d0ab55.zip
WIP: update mysql/seafile to use their own ldap user in ou=services
Diffstat (limited to 'nomad/seafile.hcl')
-rw-r--r--nomad/seafile.hcl14
1 files changed, 10 insertions, 4 deletions
diff --git a/nomad/seafile.hcl b/nomad/seafile.hcl
index c930396..1ffd1a1 100644
--- a/nomad/seafile.hcl
+++ b/nomad/seafile.hcl
@@ -111,6 +111,16 @@ job "seafile" {
}
}
+ artifact {
+ source = "http://127.0.0.1:8500/v1/kv/configuration/seafile/conf/ccnet.conf?raw"
+ destination = "secrets/conf/ccnet.conf.tpl"
+ mode = "file"
+ }
+ template {
+ source = "secrets/conf/ccnet.conf.tpl"
+ destination = "secrets/conf/ccnet.conf"
+ }
+
template {
data = "{{ key \"configuration/seafile/ccnet/mykey.peer\" }}"
destination = "secrets/ccnet/mykey.peer"
@@ -120,10 +130,6 @@ job "seafile" {
destination = "secrets/ccnet/seafile.ini"
}
template {
- data = "{{ key \"configuration/seafile/conf/ccnet.conf\" }}"
- destination = "secrets/conf/ccnet.conf"
- }
- template {
data = "{{ key \"configuration/seafile/conf/mykey.peer\" }}"
destination = "secrets/conf/mykey.peer"
}