Add job constraints

This commit is contained in:
Amarpreet Minhas 2021-07-29 23:51:21 -04:00
parent b72c476834
commit fa356847d3
4 changed files with 20 additions and 0 deletions

View file

@ -3,6 +3,11 @@ job "freshrss" {
region = "global"
type = "service"
constraint {
attribute = "${meta.storage_optimized}"
value = "true"
}
update {
stagger = "30s"
max_parallel = 1

View file

@ -3,6 +3,11 @@ job "gitea" {
region = "global"
type = "service"
constraint {
attribute = "${meta.storage_optimized}"
value = "true"
}
update {
stagger = "30s"
max_parallel = 1

View file

@ -3,6 +3,11 @@ job "nextcloud" {
region = "global"
type = "service"
constraint {
attribute = "${meta.storage_optimized}"
value = "true"
}
update {
stagger = "30s"
max_parallel = 1

View file

@ -3,6 +3,11 @@ job "radicale" {
region = "global"
type = "service"
constraint {
attribute = "${meta.storage_optimized}"
value = "true"
}
update {
stagger = "30s"
max_parallel = 1