ansible-ops-management/templates/var/www/mantis/config/config_inc.php.j2

51 lines
1.9 KiB
Plaintext
Raw Normal View History

2022-02-27 03:19:20 +00:00
<?php
$g_hostname = '{{ mantis_db_host }}';
$g_db_type = 'pgsql';
$g_database_name = '{{ mantis_db_name }}';
$g_db_username = '{{ mantis_db_user }}';
$g_db_password = '{{ mantis_db_pass }}';
$g_default_timezone = 'UTC';
$g_crypto_master_salt = '{{ cryptosalt_string.stdout }}';
# Added
$g_login_method = 'LDAP';
$g_ldap_server = '{{ rocky_ipaserver_lb }}';
$g_ldap_port = '389';
$g_ldap_root_dn = '{{ rocky_ldap_user_basedn }}';
#$g_ldap_organization = '(objectClass=posixAccount)';
$g_ldap_protocol_version = 3;
$g_ldap_network_timeout = 30;
$g_ldap_follow_referrals = ON;
$g_ldap_bind_dn = '{{ mantis_binder_user }}';
$g_ldap_bind_passwd = '{{ mantis_binder_pass }}';
$g_ldap_uid_field = 'uid';
$g_ldap_realname_field = 'cn';
$g_use_ldap_realname = ON;
$g_use_ldap_email = ON;
$g_webmaster_email = 'infrastructure@rockylinux.org';
$g_from_email = 'auto@rockylinux.org';
$g_return_path_email = 'auto@rockylinux.org';
$g_from_name = 'Rocky Linux BugTracker';
$g_allow_file_upload = ON;
$g_file_upload_method = DATABASE; # or DISK
$g_dropzone_enabled = ON;
$g_show_realname = ON;
$g_show_avatar = ON;
$g_allowed_files = 'log,patch,txt';
$g_disallowed_files = 'exe,pl,sh,py,c,cpp,rar,zip,rpm';
$g_window_title = 'Rocky BugTracker';
$g_allow_signup = ON;
$g_allow_anonymous_login = ON;
$g_anonymous_account = 'anonymous';
$g_enable_email_notification = ON;
2024-03-26 01:44:57 +00:00
$g_path = 'https://bugs.rockylinux.org/';
2022-02-27 03:19:20 +00:00
# Cookie problems
$g_allow_permanent_cookie = OFF;
2022-08-11 02:45:58 +00:00
$g_status_enum_string = '10:new,20:feedback,25:needinfo,30:acknowledged,40:confirmed,50:assigned,80:resolved,90:closed';
2023-04-15 16:48:50 +00:00
$g_access_levels_enum_string = '10:viewer,25:reporter,40:updater,55:developer,56:QA,70:manager,90:administrator';
2022-08-11 02:45:58 +00:00
$g_status_colors['needinfo'] = '#797ee8';