aboutsummaryrefslogtreecommitdiff
path: root/app/plume/deploy/plume.hcl
diff options
context:
space:
mode:
Diffstat (limited to 'app/plume/deploy/plume.hcl')
-rw-r--r--app/plume/deploy/plume.hcl12
1 files changed, 9 insertions, 3 deletions
diff --git a/app/plume/deploy/plume.hcl b/app/plume/deploy/plume.hcl
index e89348f..5bb62f7 100644
--- a/app/plume/deploy/plume.hcl
+++ b/app/plume/deploy/plume.hcl
@@ -15,16 +15,22 @@ job "plume" {
}
task "plume" {
+ constraint {
+ attribute = "${attr.unique.hostname}"
+ operator = "="
+ value = "digitale"
+ }
+
driver = "docker"
config {
- image = "superboum/plume:v4"
+ image = "superboum/plume:v7"
network_mode = "host"
ports = [ "web_port" ]
#command = "cat"
#args = [ "/dev/stdout" ]
volumes = [
- "/mnt/glusterfs/plume/media:/app/static/media",
- "/mnt/glusterfs/plume/search:/app/search_index"
+ "/mnt/ssd/plume/search_index:/app/search_index",
+ "/mnt/ssd/plume/media:/app/static/media"
]
}