Add tricot tags to everything

This commit is contained in:
Alex 2021-12-08 12:42:48 +01:00
parent 2c2ee6c903
commit 7f08d5f324
No known key found for this signature in database
GPG Key ID: EDABF9711E244EB1
10 changed files with 47 additions and 8 deletions

View File

@ -60,6 +60,7 @@ job "bagage" {
"traefik.enable=true",
"traefik.frontend.entryPoints=https,http",
"traefik.frontend.rule=Host:bagage.deuxfleurs.fr",
"tricot bagage.deuxfleurs.fr",
]
port = "web_port"
address_mode = "host"

View File

@ -93,6 +93,7 @@ job "directory" {
"traefik.enable=true",
"traefik.frontend.entryPoints=https,http",
"traefik.frontend.rule=Host:guichet.deuxfleurs.fr",
"tricot guichet.deuxfleurs.fr",
]
port = "web_port"
address_mode = "host"

View File

@ -59,6 +59,7 @@ EOH
"traefik.enable=true",
"traefik.frontend.entryPoints=https,http",
"traefik.frontend.rule=Host:drone.deuxfleurs.fr",
"tricot drone.deuxfleurs.fr",
]
port = "web_port"
address_mode = "host"

View File

@ -423,7 +423,8 @@ job "email" {
"alps",
"traefik.enable=true",
"traefik.frontend.entryPoints=https,http",
"traefik.frontend.rule=Host:alps.deuxfleurs.fr"
"traefik.frontend.rule=Host:alps.deuxfleurs.fr",
"tricot alps.deuxfleurs.fr",
]
check {
type = "tcp"
@ -477,7 +478,9 @@ job "email" {
"sogo",
"traefik.enable=true",
"traefik.frontend.entryPoints=https,http",
"traefik.frontend.rule=Host:www.sogo.deuxfleurs.fr,sogo.deuxfleurs.fr;PathPrefix:/"
"traefik.frontend.rule=Host:www.sogo.deuxfleurs.fr,sogo.deuxfleurs.fr;PathPrefix:/",
"tricot www.sogo.deuxfleurs.fr",
"tricot sogo.deuxfleurs.fr",
]
check {
type = "tcp"

View File

@ -99,6 +99,7 @@ job "garage-staging" {
"garage-staging-web",
"tricot *.garage-staging-web.home.adnab.me",
"tricot rust-docs",
"tricot-add-header Access-Control-Allow-Origin *",
]
port = 3992
address_mode = "driver"

View File

@ -57,7 +57,8 @@ job "garage" {
"garage_api",
"traefik.enable=true",
"traefik.frontend.entryPoints=https,http",
"traefik.frontend.rule=Host:garage.deuxfleurs.fr"
"traefik.frontend.rule=Host:garage.deuxfleurs.fr",
"tricot garage.deuxfleurs.fr",
]
port = 3900
address_mode = "driver"
@ -95,6 +96,28 @@ job "garage" {
}
}
service {
tags = [
"garage-web",
"tricot * 1000",
]
port = 3902
address_mode = "driver"
name = "garage-web"
check {
type = "tcp"
port = 3902
address_mode = "driver"
interval = "60s"
timeout = "5s"
check_restart {
limit = 3
grace = "90s"
ignore_warnings = false
}
}
}
restart {
interval = "30m"
attempts = 10

View File

@ -99,7 +99,10 @@ job "im" {
"traefik.frontend.entryPoints=https",
"traefik.frontend.rule=Host:im.deuxfleurs.fr;PathPrefix:/_matrix,/_synapse",
"traefik.frontend.headers.customResponseHeaders=Access-Control-Allow-Origin: *",
"traefik.frontend.priority=100"
"traefik.frontend.priority=100",
"tricot im.deuxfleurs.fr/_matrix 100",
"tricot im.deuxfleurs.fr/_synapse 100",
"tricot-add-header Access-Control-Allow-Origin *",
]
check {
type = "tcp"
@ -123,7 +126,8 @@ job "im" {
"traefik.enable=true",
"traefik.frontend.entryPoints=https",
"traefik.frontend.rule=Host:deuxfleurs.fr;PathPrefix:/_matrix",
"traefik.frontend.priority=100"
"traefik.frontend.priority=100",
"tricot deuxfleurs.fr/_matrix 100",
]
}
}
@ -199,7 +203,9 @@ EOH
"traefik.enable=true",
"traefik.frontend.entryPoints=https",
"traefik.frontend.rule=Host:im.deuxfleurs.fr,riot.deuxfleurs.fr;PathPrefix:/",
"traefik.frontend.priority=10"
"traefik.frontend.priority=10",
"tricot im.deuxfleurs.fr 10",
"tricot riot.deuxfleurs.fr 10",
]
port = "web_port"
address_mode = "host"

View File

@ -144,7 +144,8 @@ EOF
"traefik.enable=true",
"traefik.frontend.entryPoints=https",
"traefik.frontend.rule=Host:jitsi.deuxfleurs.fr;PathPrefix:/",
"traefik.protocol=https"
"traefik.protocol=https",
"tricot jitsi.deuxfleurs.fr",
]
port = "https_port"
address_mode = "host"

View File

@ -41,7 +41,8 @@ EOH
"platoo",
"traefik.enable=true",
"traefik.frontend.entryPoints=https",
"traefik.frontend.rule=Host:platoo.deuxfleurs.fr;PathPrefix:/"
"traefik.frontend.rule=Host:platoo.deuxfleurs.fr;PathPrefix:/",
"tricot platoo.deuxfleurs.fr",
]
port = "web_port"
address_mode = "host"

View File

@ -46,6 +46,7 @@ job "plume" {
"traefik.enable=true",
"traefik.frontend.entryPoints=https,http",
"traefik.frontend.rule=Host:plume.deuxfleurs.fr",
"tricot plume.deuxfleurs.fr",
]
port = "web_port"
address_mode = "host"