Set priorities
This commit is contained in:
parent
685bc45802
commit
b6ccf06d8a
11 changed files with 12 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
job "directory2" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
priority = 90
|
||||
|
||||
constraint {
|
||||
attribute = "${attr.cpu.arch}"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
job "core" {
|
||||
datacenters = ["dc1"]
|
||||
type = "system"
|
||||
priority = 90
|
||||
|
||||
constraint {
|
||||
attribute = "${attr.cpu.arch}"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
job "email" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
priority = 65
|
||||
|
||||
group "dovecot" {
|
||||
count = 1
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
job "garage" {
|
||||
datacenters = ["dc1", "belair", "saturne"]
|
||||
type = "system"
|
||||
priority = 40
|
||||
|
||||
constraint {
|
||||
attribute = "${attr.cpu.arch}"
|
||||
|
@ -11,6 +12,7 @@ job "garage" {
|
|||
task "server" {
|
||||
driver = "docker"
|
||||
config {
|
||||
advertise_ipv6_address = true
|
||||
image = "lxpz/garage_amd64:4"
|
||||
network_mode = "host"
|
||||
volumes = [
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
job "im" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
priority = 60
|
||||
|
||||
group "matrix" {
|
||||
count = 1
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
job "mariadb" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
priority = 10
|
||||
|
||||
constraint {
|
||||
attribute = "${attr.cpu.arch}"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
job "nextcloud" {
|
||||
datacenters = ["dc1", "belair"]
|
||||
type = "service"
|
||||
priority = 40
|
||||
|
||||
constraint {
|
||||
attribute = "${attr.cpu.arch}"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
job "platoo" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
priority = 10
|
||||
|
||||
constraint {
|
||||
attribute = "${attr.cpu.arch}"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
job "science" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
priority = 10
|
||||
|
||||
constraint {
|
||||
attribute = "${attr.cpu.arch}"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
job "seafile" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
priority = 10
|
||||
|
||||
constraint {
|
||||
attribute = "${attr.cpu.arch}"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
job "frontend" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
priority = 80
|
||||
|
||||
group "traefik" {
|
||||
task "server" {
|
||||
|
|
Reference in a new issue