aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-01-11 22:18:52 +0100
committerAlex Auvolat <alex@adnab.me>2023-01-11 22:18:52 +0100
commit8e76707c44def66d981c93a8b68a090cad50ac6c (patch)
treeb67362f1a5cd97e7ee38364bedf40b69a3542db4 /cluster/prod/app
parent0da378d05327fe6eb30fc00d3d109331fab38866 (diff)
downloadnixcfg-8e76707c44def66d981c93a8b68a090cad50ac6c.tar.gz
nixcfg-8e76707c44def66d981c93a8b68a090cad50ac6c.zip
fix tricot hostname on prod
Diffstat (limited to 'cluster/prod/app')
-rw-r--r--cluster/prod/app/core/deploy/core-service.hcl2
-rw-r--r--cluster/prod/app/core/deploy/core-system.hcl (renamed from cluster/prod/app/core/deploy/core.hcl)2
2 files changed, 2 insertions, 2 deletions
diff --git a/cluster/prod/app/core/deploy/core-service.hcl b/cluster/prod/app/core/deploy/core-service.hcl
index d7a6299..c2fe3c9 100644
--- a/cluster/prod/app/core/deploy/core-service.hcl
+++ b/cluster/prod/app/core/deploy/core-service.hcl
@@ -10,7 +10,7 @@ job "core-service" {
driver = "docker"
config {
- image = "lxpz/amd64_d53:2"
+ image = "lxpz/amd64_d53:3"
network_mode = "host"
readonly_rootfs = true
volumes = [
diff --git a/cluster/prod/app/core/deploy/core.hcl b/cluster/prod/app/core/deploy/core-system.hcl
index b59252e..f430703 100644
--- a/cluster/prod/app/core/deploy/core.hcl
+++ b/cluster/prod/app/core/deploy/core-system.hcl
@@ -121,7 +121,7 @@ EOH
template {
data = <<EOH
-TRICOT_NODE_NAME={{ env "attr.unique.consul.name" }}
+TRICOT_NODE_NAME={{ env "attr.unique.hostname" }}
TRICOT_LETSENCRYPT_EMAIL=prod-sysadmin@deuxfleurs.fr
TRICOT_ENABLE_COMPRESSION=true
TRICOT_CONSUL_HOST=https://consul.service.prod.consul:8501