diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-01-27 13:31:25 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-01-27 13:31:25 +0100 |
commit | 00d7106a18b8ab27910b04bfabb0bb5bb0d4fd00 (patch) | |
tree | 949da422d223236ff355e055535c3e63bf4b3e72 /app/plume/deploy | |
parent | 831ddd30558d9015f9219ae28384a414d7b73bf6 (diff) | |
download | infrastructure-00d7106a18b8ab27910b04bfabb0bb5bb0d4fd00.tar.gz infrastructure-00d7106a18b8ab27910b04bfabb0bb5bb0d4fd00.zip |
Redeploy plume
Diffstat (limited to 'app/plume/deploy')
-rw-r--r-- | app/plume/deploy/plume.hcl | 12 |
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" ] } |