From e37c1f9057ed986ac50b86463a4dbe6bf5d77f02 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 25 Aug 2022 01:02:16 +0200 Subject: Deploy Matrix --- cluster/prod/app/plume/config/app.env | 2 +- cluster/prod/app/plume/deploy/plume.hcl | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'cluster/prod/app/plume') diff --git a/cluster/prod/app/plume/config/app.env b/cluster/prod/app/plume/config/app.env index 4b389b5..5c9ede6 100644 --- a/cluster/prod/app/plume/config/app.env +++ b/cluster/prod/app/plume/config/app.env @@ -22,7 +22,7 @@ ROCKET_PORT={{ env "NOMAD_PORT_web_port" }} MEDIA_UPLOAD_DIRECTORY=/app/static/media SEARCH_INDEX=/app/search_index -LDAP_ADDR=ldap://bottin.service.prod.consul:389 +LDAP_ADDR=ldap://{{ env "meta.site" }}.bottin.service.prod.consul:389 LDAP_BASE_DN=ou=users,dc=deuxfleurs,dc=fr LDAP_USER_NAME_ATTR=cn LDAP_USER_MAIL_ATTR=mail diff --git a/cluster/prod/app/plume/deploy/plume.hcl b/cluster/prod/app/plume/deploy/plume.hcl index 3e9aa77..c0e5da3 100644 --- a/cluster/prod/app/plume/deploy/plume.hcl +++ b/cluster/prod/app/plume/deploy/plume.hcl @@ -18,7 +18,7 @@ job "plume-blog" { constraint { attribute = "${attr.unique.hostname}" operator = "=" - value = "digitale" + value = "dahlia" } driver = "docker" @@ -49,9 +49,6 @@ job "plume-blog" { name = "plume" tags = [ "plume", - "traefik.enable=true", - "traefik.frontend.entryPoints=https,http", - "traefik.frontend.rule=Host:plume.deuxfleurs.fr", "tricot plume.deuxfleurs.fr", ] port = "web_port" -- cgit v1.2.3