diff options
author | Alex Auvolat <alex@adnab.me> | 2022-08-24 17:31:08 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-08-24 17:31:08 +0200 |
commit | cfb1d623d9711156a1195312afa5cebadc8a6697 (patch) | |
tree | 78acc1e564d2e0e053f9be21ac5b0ec29f48048e /cluster/prod/app/frontend/deploy | |
parent | a0c8280c02855fa2731d3f89df1dec0ae9627990 (diff) | |
download | nixcfg-cfb1d623d9711156a1195312afa5cebadc8a6697.tar.gz nixcfg-cfb1d623d9711156a1195312afa5cebadc8a6697.zip |
Reconfigure services to use correct tricot url, TLS fails
Diffstat (limited to 'cluster/prod/app/frontend/deploy')
-rw-r--r-- | cluster/prod/app/frontend/deploy/frontend-tricot.hcl (renamed from cluster/prod/app/frontend/deploy/frontend-tricot-prod.hcl) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cluster/prod/app/frontend/deploy/frontend-tricot-prod.hcl b/cluster/prod/app/frontend/deploy/frontend-tricot.hcl index 804345b..904e9fb 100644 --- a/cluster/prod/app/frontend/deploy/frontend-tricot-prod.hcl +++ b/cluster/prod/app/frontend/deploy/frontend-tricot.hcl @@ -41,8 +41,8 @@ job "frontend" { } template { - data = "{{ key \"secrets/consul/consul-ca.crt\" }}" - destination = "secrets/consul-ca.crt" + data = "{{ key \"secrets/consul/consul.crt\" }}" + destination = "secrets/consul.crt" } template { @@ -60,8 +60,8 @@ job "frontend" { TRICOT_NODE_NAME={{ env "attr.unique.consul.name" }} TRICOT_LETSENCRYPT_EMAIL=alex@adnab.me TRICOT_ENABLE_COMPRESSION=true -TRICOT_CONSUL_HOST=https://localhost:8501 -TRICOT_CONSUL_CA_CERT=/etc/tricot/consul-ca.crt +TRICOT_CONSUL_HOST=https://consul.service.prod.consul:8501 +TRICOT_CONSUL_CA_CERT=/etc/tricot/consul.crt TRICOT_CONSUL_CLIENT_CERT=/etc/tricot/consul-client.crt TRICOT_CONSUL_CLIENT_KEY=/etc/tricot/consul-client.key TRICOT_HTTP_BIND_ADDR=[::]:80 |