aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nomad/postgres-amd64.hcl8
-rw-r--r--nomad/seafile.hcl2
2 files changed, 3 insertions, 7 deletions
diff --git a/nomad/postgres-amd64.hcl b/nomad/postgres-amd64.hcl
index 0a6369a..456156e 100644
--- a/nomad/postgres-amd64.hcl
+++ b/nomad/postgres-amd64.hcl
@@ -1,11 +1,7 @@
-job "dbx86" {
+job "postgres" {
datacenters = ["dc1"]
type = "system"
-
- constraint {
- attribute = "${attr.cpu.arch}"
- value = "amd64"
- }
+ priority = 90
update {
max_parallel = 1
diff --git a/nomad/seafile.hcl b/nomad/seafile.hcl
index 9c26df2..e22699c 100644
--- a/nomad/seafile.hcl
+++ b/nomad/seafile.hcl
@@ -39,7 +39,7 @@ job "seafile" {
}
resources {
- memory = 2048
+ memory = 512
network {
port "seahub_port" {}
port "seafhttp_port" {}