From faf39bbb282542efa237c39f4371918589508254 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sun, 5 Jul 2020 20:36:16 +0200 Subject: Fix docker volume --- nomad/seafile.hcl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'nomad') 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" ] -- cgit v1.2.3