aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/plume
diff options
context:
space:
mode:
Diffstat (limited to 'cluster/prod/app/plume')
-rw-r--r--cluster/prod/app/plume/config/app.env2
-rw-r--r--cluster/prod/app/plume/deploy/plume.hcl5
2 files changed, 2 insertions, 5 deletions
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"