-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-config-template.php
43 lines (38 loc) · 1.14 KB
/
docker-config-template.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
unset($CFG);
global $CFG;
$CFG = new stdClass();
$CFG->dbtype = 'pgsql';
$CFG->dblibrary = 'native';
$CFG->dbhost = 'postgres';
$CFG->dbname = 'moodle';
$CFG->dbuser = 'postgres';
$CFG->dbpass = '';
$CFG->prefix = 'mdl_';
$CFG->dboptions = ['dbcollation' => 'utf8mb4_unicode_ci'];
$CFG->sxs_config = '';
$CFG->wwwroot = 'https://localhost';
$CFG->dataroot = '/var/moodledata';
$CFG->directorypermissions = 02777;
$CFG->admin = 'admin';
$CFG->passwordpolicy = 0;
$CFG->session_handler_class = '\core\session\redis';
$CFG->session_redis_host = '127.0.0.1';
$CFG->session_redis_host = 'redis';
$CFG->debug = (E_ALL | E_STRICT); // DEBUG_DEVELOPER
$CFG->debugdisplay = 1;
$CFG->perfdebug = 15;
$CFG->debugpageinfo = 1;
$CFG->phpunit_dataroot = '/var/phpunitdata';
$CFG->phpunit_prefix = 'phpu_';
$CFG->behat_wwwroot = 'http://nginx';
$CFG->behat_dataroot = '/var/moodledata_behat';
$CFG->behat_prefix = 'bht_';
$CFG->behat_profiles = array(
'default' => array(
'browser' => 'firefox',
'wd_host' => 'http://selenium:4444/wd/hub',
),
);
$CFG->behat_faildump_path = '/var/moodle_behat_output';
require_once(__DIR__ . '/lib/setup.php');