diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-08-25 01:02:16 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-08-25 01:02:16 +0200 |
commit | e37c1f9057ed986ac50b86463a4dbe6bf5d77f02 (patch) | |
tree | 5f5757bde3cf8a694a70bd11afdcdf9b87806db8 /cluster/prod/app/plume | |
parent | 3be2659aa19abfb7e676d33e9e7e1357c790a383 (diff) | |
download | nixcfg-e37c1f9057ed986ac50b86463a4dbe6bf5d77f02.tar.gz nixcfg-e37c1f9057ed986ac50b86463a4dbe6bf5d77f02.zip |
Deploy Matrix
Diffstat (limited to 'cluster/prod/app/plume')
-rw-r--r-- | cluster/prod/app/plume/config/app.env | 2 | ||||
-rw-r--r-- | cluster/prod/app/plume/deploy/plume.hcl | 5 |
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" |