aboutsummaryrefslogtreecommitdiff
path: root/systems/eldiron/websites/git/mantisbt.nix
diff options
context:
space:
mode:
Diffstat (limited to 'systems/eldiron/websites/git/mantisbt.nix')
-rw-r--r--systems/eldiron/websites/git/mantisbt.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/systems/eldiron/websites/git/mantisbt.nix b/systems/eldiron/websites/git/mantisbt.nix
index 3bd78e1..b0ee553 100644
--- a/systems/eldiron/websites/git/mantisbt.nix
+++ b/systems/eldiron/websites/git/mantisbt.nix
@@ -6,6 +6,10 @@ rec {
6 permissions = "0400"; 6 permissions = "0400";
7 text = '' 7 text = ''
8 <?php 8 <?php
9 $g_admin_checks = OFF;
10 $g_reauthentication = OFF;
11 $g_reauthentication_expiry = 604800;
12 $g_path = 'https://git.immae.eu/mantisbt/';
9 $g_hostname = '${env.postgresql.socket}'; 13 $g_hostname = '${env.postgresql.socket}';
10 $g_db_username = '${env.postgresql.user}'; 14 $g_db_username = '${env.postgresql.user}';
11 $g_db_password = '${env.postgresql.password}'; 15 $g_db_password = '${env.postgresql.password}';
@@ -29,6 +33,7 @@ rec {
29 $g_login_method = LDAP; 33 $g_login_method = LDAP;
30 $g_ldap_protocol_version = 3; 34 $g_ldap_protocol_version = 3;
31 $g_ldap_server = 'ldaps://${env.ldap.host}:636'; 35 $g_ldap_server = 'ldaps://${env.ldap.host}:636';
36 $g_ldap_use_starttls = OFF;
32 $g_ldap_root_dn = 'ou=users,${env.ldap.base}'; 37 $g_ldap_root_dn = 'ou=users,${env.ldap.base}';
33 $g_ldap_bind_dn = '${env.ldap.dn}'; 38 $g_ldap_bind_dn = '${env.ldap.dn}';
34 $g_ldap_bind_passwd = '${env.ldap.password}'; 39 $g_ldap_bind_passwd = '${env.ldap.password}';
@@ -39,7 +44,8 @@ rec {
39 $g_ldap_organization = '${env.ldap.filter}'; 44 $g_ldap_organization = '${env.ldap.filter}';
40 ''; 45 '';
41 }; 46 };
42 webRoot = (mantisbt_2.override { mantis_config = config.secrets.fullPaths."webapps/tools-mantisbt"; }).withPlugins (p: [p.slack p.source-integration]); 47 webRoot = (mantisbt_2.override { mantis_config =
48 config.secrets.fullPaths."webapps/tools-mantisbt"; }).withPlugins (p: [p.slack p.source-integration ]);
43 apache = rec { 49 apache = rec {
44 user = "wwwrun"; 50 user = "wwwrun";
45 group = "wwwrun"; 51 group = "wwwrun";