diff --git a/nomad/databases/mysql.nomad b/nomad/databases/mysql.nomad index d463291..fdd611d 100644 --- a/nomad/databases/mysql.nomad +++ b/nomad/databases/mysql.nomad @@ -1,6 +1,7 @@ job "mysql-server" { datacenters = ["dc1"] type = "service" + priority = 80 group "mysql-server" { count = 1 diff --git a/nomad/databases/redis.nomad b/nomad/databases/redis.nomad index 0579e37..a40c04d 100644 --- a/nomad/databases/redis.nomad +++ b/nomad/databases/redis.nomad @@ -1,6 +1,7 @@ job "redis" { datacenters = ["dc1"] type = "service" + priority = 60 group "cache" { count = 1