Skip to content
Snippets Groups Projects
Select Git revision
  • 1e4a10be5574f05524743c1320490b566ed8429e
  • master default protected
2 results

README.md

Blame
  • config_defaults.php 5.91 KiB
    <?php
    /*
     * DEFAULT CONFIG SETTINGS
     * 
     * Do not change this file. For custom settings use the config_custom.php
     * and override wanted keys.
     * 
     */
    return [
    
        // ----------------------------------------------------------------------    
    
        'workDir' => '/var/imldeployment',
        'tmpDir' => '/var/tmp/imldeployment',
    
        // ----------------------------------------------------------------------    
    
        'phases' => [
            "preview" => [
                'css' => [
                    'bgdark' => 'background:#393E50;  color:#f8f8f8;',
                    'bglight' => 'background:#eee; color:#333; background:rgba(210,210,210,0.3); ',
                    'bgbutton' => 'background:#393E50; color:#fcfcfc; border: 1px solid rgba(0,0,0,0.15);',
                ],
            ],
            "stage" => [
                'css' => [
                    'bgdark' => 'background:#3F88C5; color:#f8f8f8;',
                    'bglight' => 'background:#f0f4f8; color:#333; background:rgba(200,210,220,0.3); ',
                    'bgbutton' => 'background:#3F88C5; color:#fcfcfc; border: 1px solid rgba(0,0,0,0.15);',
                ],
            ],
            "live" => [
                'css' => [
                    'bgdark' => 'background:#44BBA4; color:#f8f8f8;',
                    'bglight' => 'background:#f4f8f0; color:#333; background:rgba(210,220,200,0.3); ',
                    'bgbutton' => 'background:#44BBA4; color:#fcfcfc; border: 1px solid rgba(0,0,0,0.15);',
                ],
                // prevent immediate installation after build or accept
                "deploytimes" => ['/(Mon|Tue|Wed|Thu)\ 14\:/'],
            ],
        ],
    
        'auth' => [
            // force using a given user ... for development only
            'forceuser' => 'admin',
    
            // use a real login
            'ldap' => [
                'server'       => 'ldaps://ldap.example.com',
                'port'         => 636,
                'DnLdapUser' => 'cn=lookupuser,dc=department,dc=example.com',
                'PwLdapUser' => 'lookupuser_password_here',
                'DnUserNode'   => 'ou=People,dc=department,dc=example.com',
                'DnAppNode'    => 'cn=CI Web-GUI Users,ou=Application Access,dc=department,dc=example.com',
                'debugLevel'   => 0,
            ]
        ],
    
        'lang' => 'en-en', // for available languages see ./config/lang/*.json
    
        'showdebug' => [
            'ip'=> ['127.0.0.1'],
        ],
        'projectgroups' => [
            'teamA'=>'Team A: Services',
            'teamB'=>'Team B: Website',
        ],
        
        // ----------------------------------------------------------------------