From 00d7106a18b8ab27910b04bfabb0bb5bb0d4fd00 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 27 Jan 2022 13:31:25 +0100 Subject: Redeploy plume --- app/plume/deploy/plume.hcl | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'app/plume/deploy/plume.hcl') 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" ] } -- cgit v1.2.3