diff options
Diffstat (limited to 'cluster/prod/app/plume/deploy')
-rw-r--r-- | cluster/prod/app/plume/deploy/plume.hcl | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/cluster/prod/app/plume/deploy/plume.hcl b/cluster/prod/app/plume/deploy/plume.hcl index 4470099..c266167 100644 --- a/cluster/prod/app/plume/deploy/plume.hcl +++ b/cluster/prod/app/plume/deploy/plume.hcl @@ -1,12 +1,7 @@ job "plume-blog" { - datacenters = ["orion"] + datacenters = ["orion", "neptune"] type = "service" - constraint { - attribute = "${attr.cpu.arch}" - value = "amd64" - } - group "plume" { count = 1 @@ -15,23 +10,13 @@ job "plume-blog" { } task "plume" { - constraint { - attribute = "${attr.unique.hostname}" - operator = "=" - value = "dahlia" - } - driver = "docker" config { - image = "superboum/plume:v8" + image = "lxpz/plume_s3:v1" network_mode = "host" ports = [ "web_port" ] - #command = "cat" - #args = [ "/dev/stdout" ] - volumes = [ - "/mnt/ssd/plume/search_index:/app/search_index", - "/mnt/ssd/plume/media:/app/static/media" - ] + command = "sh" + args = [ "-c", "plm search init; plm search refill; plume" ] } template { @@ -51,6 +36,7 @@ job "plume-blog" { tags = [ "plume", "tricot plume.deuxfleurs.fr", + "d53-cname plume.deuxfleurs.fr", ] port = "web_port" address_mode = "host" |