diff options
author | Alex Auvolat <alex@adnab.me> | 2023-01-11 22:18:52 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-01-11 22:18:52 +0100 |
commit | 8e76707c44def66d981c93a8b68a090cad50ac6c (patch) | |
tree | b67362f1a5cd97e7ee38364bedf40b69a3542db4 /cluster/prod/app/core | |
parent | 0da378d05327fe6eb30fc00d3d109331fab38866 (diff) | |
download | nixcfg-8e76707c44def66d981c93a8b68a090cad50ac6c.tar.gz nixcfg-8e76707c44def66d981c93a8b68a090cad50ac6c.zip |
fix tricot hostname on prod
Diffstat (limited to 'cluster/prod/app/core')
-rw-r--r-- | cluster/prod/app/core/deploy/core-service.hcl | 2 | ||||
-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 |