aboutsummaryrefslogtreecommitdiff
path: root/nomad
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-07-05 20:36:16 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-07-05 20:36:16 +0200
commitfaf39bbb282542efa237c39f4371918589508254 (patch)
treeee8d82b8640deed41acf13ab5cce94045ebc3081 /nomad
parent81480fa1f99dc374fa1a444c34683187b7525b43 (diff)
downloadinfrastructure-faf39bbb282542efa237c39f4371918589508254.tar.gz
infrastructure-faf39bbb282542efa237c39f4371918589508254.zip
Fix docker volume
Diffstat (limited to 'nomad')
-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"
]