aboutsummaryrefslogtreecommitdiff
path: root/nomad/seafile.hcl
diff options
context:
space:
mode:
Diffstat (limited to 'nomad/seafile.hcl')
-rw-r--r--nomad/seafile.hcl9
1 files changed, 8 insertions, 1 deletions
diff --git a/nomad/seafile.hcl b/nomad/seafile.hcl
index f118999..9c26df2 100644
--- a/nomad/seafile.hcl
+++ b/nomad/seafile.hcl
@@ -24,8 +24,15 @@ job "seafile" {
seafhttp_port = 8082
}
+ mounts = [
+ {
+ type = "bind"
+ source = "/mnt/glusterfs/seafile"
+ target = "/mnt/seafile-data"
+ }
+ ]
+
volumes = [
- "/mnt/glusterfs/seafile:/mnt/seafile-data",
"secrets/conf:/srv/webstore/conf",
"secrets/ccnet:/srv/webstore/ccnet"
]