diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-06-14 11:48:53 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-06-14 11:48:53 +0200 |
commit | 3534ba1a19844e55982cb773599671d2fdb4be02 (patch) | |
tree | 0a523f5c5c5c00c7d31d75c87609afef2fe8c65e /nomad | |
parent | 9b7fd2fc0ac6f11e47a9355ba6ec7db0f0e42dbe (diff) | |
download | infrastructure-3534ba1a19844e55982cb773599671d2fdb4be02.tar.gz infrastructure-3534ba1a19844e55982cb773599671d2fdb4be02.zip |
Read domain name from LDAP
Diffstat (limited to 'nomad')
-rw-r--r-- | nomad/email.hcl | 10 | ||||
-rw-r--r-- | nomad/jitsi.hcl | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/nomad/email.hcl b/nomad/email.hcl index 75849cd..4b4be41 100644 --- a/nomad/email.hcl +++ b/nomad/email.hcl @@ -356,6 +356,16 @@ job "email" { destination = "secrets/postfix/ldap-alias.cf" } + artifact { + source = "http://127.0.0.1:8500/v1/kv/configuration/email/postfix/ldap-virtual-domains.cf.tpl?raw" + destination = "secrets/postfix/ldap-virtual-domains.cf.tpl" + mode = "file" + } + template { + source = "secrets/postfix/ldap-virtual-domains.cf.tpl" + destination = "secrets/postfix/ldap-virtual-domains.cf" + } + template { data = "{{ key \"configuration/email/postfix/postfix.crt\" }}" diff --git a/nomad/jitsi.hcl b/nomad/jitsi.hcl index 00d7767..4ef2f98 100644 --- a/nomad/jitsi.hcl +++ b/nomad/jitsi.hcl @@ -182,7 +182,7 @@ job "jitsi" { resources { cpu = 300 - memory = 200 + memory = 400 } } |