[thelounge] Support zamok configuration

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
certbot_on_virtu
Yohann D'ANELLO 2021-01-14 12:08:02 +01:00 committed by ynerant
parent af33ff7d56
commit 9d5a080fc5
4 changed files with 12 additions and 5 deletions

View File

@ -1,5 +1,8 @@
glob_thelounge:
public: "false"
host: "undefined"
reverseProxy: "false"
oidentd: "null"
irc:
name: Crans
host: irc.crans.org

View File

@ -10,4 +10,7 @@ loc_borg:
- " password: {{ vault.mysql_zamok_password }}"
loc_thelounge:
host: "\"172.16.10.31\""
oidentd: "\"/usr/local/lib/thelounge/.oidentd.conf\""
reverseProxy: "true"
ldap_enable: "true"

1
hosts
View File

@ -64,6 +64,7 @@ horde.adm.crans.org
[irc]
irc.adm.crans.org
zamok.adm.crans.org
[keepalived:children]
routeurs_vm

View File

@ -26,7 +26,7 @@ module.exports = {
// For UNIX domain sockets, use `"unix:/absolute/path/to/file.sock"`.
//
// This value is set to `undefined` by default to listen on all interfaces.
host: undefined,
host: {{ thelounge.host }},
// ### `port`
//
@ -49,7 +49,7 @@ module.exports = {
// and will honor the `X-Forwarded-For` header.
//
// This value is set to `false` by default.
reverseProxy: false,
reverseProxy: {{ thelounge.reverseProxy }},
// ### `maxHistory`
//
@ -108,7 +108,7 @@ module.exports = {
// from URLs posted in channels and private messages.
//
// This value is set to `false` by default.
prefetch: false,
prefetch: true,
// ### `disableMediaPreview`
//
@ -140,7 +140,7 @@ module.exports = {
// restarts.
//
// This value is set to `false` by default.
prefetchStorage: false,
prefetchStorage: true,
// ### `prefetchMaxImageSize`
//
@ -351,7 +351,7 @@ module.exports = {
// configuration file located at the given path.
//
// This is set to `null` by default to disable `oidentd` support.
oidentd: null,
oidentd: {{ thelounge.oidentd }},
// ## LDAP support