aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/config/secrets/seafile/conf/mykey.peer.sample0
-rw-r--r--app/deployment/seafile.hcl5
2 files changed, 2 insertions, 3 deletions
diff --git a/app/config/secrets/seafile/conf/mykey.peer.sample b/app/config/secrets/seafile/conf/mykey.peer.sample
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/app/config/secrets/seafile/conf/mykey.peer.sample
diff --git a/app/deployment/seafile.hcl b/app/deployment/seafile.hcl
index 8e2480a..a44bf60 100644
--- a/app/deployment/seafile.hcl
+++ b/app/deployment/seafile.hcl
@@ -162,14 +162,13 @@ job "seafile" {
}
# ---- secrets ----
- # @FIXME should be put in the secret hierarchy in consul
template {
- data = "{{ key \"configuration/seafile/conf/mykey.peer\" }}"
+ data = "{{ key \"secrets/seafile/conf/mykey.peer\" }}"
destination = "secrets/ccnet/mykey.peer"
}
template {
- data = "{{ key \"configuration/seafile/conf/mykey.peer\" }}"
+ data = "{{ key \"secrets/seafile/conf/mykey.peer\" }}"
destination = "secrets/conf/mykey.peer"
}
}