aboutsummaryrefslogtreecommitdiff
path: root/app/deployment
diff options
context:
space:
mode:
Diffstat (limited to 'app/deployment')
-rw-r--r--app/deployment/bottin2.hcl1
-rw-r--r--app/deployment/core.hcl1
-rw-r--r--app/deployment/email.hcl1
-rw-r--r--app/deployment/garage.hcl2
-rw-r--r--app/deployment/im.hcl1
-rw-r--r--app/deployment/mariadb.hcl1
-rw-r--r--app/deployment/nextcloud.hcl1
-rw-r--r--app/deployment/platoo.hcl1
-rw-r--r--app/deployment/science.hcl1
-rw-r--r--app/deployment/seafile.hcl1
-rw-r--r--app/deployment/traefik.hcl1
11 files changed, 12 insertions, 0 deletions
diff --git a/app/deployment/bottin2.hcl b/app/deployment/bottin2.hcl
index 663fa78..fec7d74 100644
--- a/app/deployment/bottin2.hcl
+++ b/app/deployment/bottin2.hcl
@@ -1,6 +1,7 @@
job "directory2" {
datacenters = ["dc1"]
type = "service"
+ priority = 90
constraint {
attribute = "${attr.cpu.arch}"
diff --git a/app/deployment/core.hcl b/app/deployment/core.hcl
index 43774a6..5b17b8e 100644
--- a/app/deployment/core.hcl
+++ b/app/deployment/core.hcl
@@ -1,6 +1,7 @@
job "core" {
datacenters = ["dc1"]
type = "system"
+ priority = 90
constraint {
attribute = "${attr.cpu.arch}"
diff --git a/app/deployment/email.hcl b/app/deployment/email.hcl
index 9c88852..277e356 100644
--- a/app/deployment/email.hcl
+++ b/app/deployment/email.hcl
@@ -1,6 +1,7 @@
job "email" {
datacenters = ["dc1"]
type = "service"
+ priority = 65
group "dovecot" {
count = 1
diff --git a/app/deployment/garage.hcl b/app/deployment/garage.hcl
index 8189ff3..beafb88 100644
--- a/app/deployment/garage.hcl
+++ b/app/deployment/garage.hcl
@@ -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 = [
diff --git a/app/deployment/im.hcl b/app/deployment/im.hcl
index 242b360..cbce54c 100644
--- a/app/deployment/im.hcl
+++ b/app/deployment/im.hcl
@@ -1,6 +1,7 @@
job "im" {
datacenters = ["dc1"]
type = "service"
+ priority = 60
group "matrix" {
count = 1
diff --git a/app/deployment/mariadb.hcl b/app/deployment/mariadb.hcl
index da24273..b0fb954 100644
--- a/app/deployment/mariadb.hcl
+++ b/app/deployment/mariadb.hcl
@@ -1,6 +1,7 @@
job "mariadb" {
datacenters = ["dc1"]
type = "service"
+ priority = 10
constraint {
attribute = "${attr.cpu.arch}"
diff --git a/app/deployment/nextcloud.hcl b/app/deployment/nextcloud.hcl
index 2cc4f5f..b2e11bf 100644
--- a/app/deployment/nextcloud.hcl
+++ b/app/deployment/nextcloud.hcl
@@ -1,6 +1,7 @@
job "nextcloud" {
datacenters = ["dc1", "belair"]
type = "service"
+ priority = 40
constraint {
attribute = "${attr.cpu.arch}"
diff --git a/app/deployment/platoo.hcl b/app/deployment/platoo.hcl
index 0502934..786a3f0 100644
--- a/app/deployment/platoo.hcl
+++ b/app/deployment/platoo.hcl
@@ -1,6 +1,7 @@
job "platoo" {
datacenters = ["dc1"]
type = "service"
+ priority = 10
constraint {
attribute = "${attr.cpu.arch}"
diff --git a/app/deployment/science.hcl b/app/deployment/science.hcl
index 81e398a..8b13e3f 100644
--- a/app/deployment/science.hcl
+++ b/app/deployment/science.hcl
@@ -1,6 +1,7 @@
job "science" {
datacenters = ["dc1"]
type = "service"
+ priority = 10
constraint {
attribute = "${attr.cpu.arch}"
diff --git a/app/deployment/seafile.hcl b/app/deployment/seafile.hcl
index 5a197b5..75d752a 100644
--- a/app/deployment/seafile.hcl
+++ b/app/deployment/seafile.hcl
@@ -1,6 +1,7 @@
job "seafile" {
datacenters = ["dc1"]
type = "service"
+ priority = 10
constraint {
attribute = "${attr.cpu.arch}"
diff --git a/app/deployment/traefik.hcl b/app/deployment/traefik.hcl
index bb724df..641187f 100644
--- a/app/deployment/traefik.hcl
+++ b/app/deployment/traefik.hcl
@@ -1,6 +1,7 @@
job "frontend" {
datacenters = ["dc1"]
type = "service"
+ priority = 80
group "traefik" {
task "server" {