We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4c4d1d5 + 0ab37f4 commit a6a9931Copy full SHA for a6a9931
config.docker-template.php
@@ -13,6 +13,14 @@
13
$CFG->prefix = 'm_';
14
$CFG->dboptions = ['dbcollation' => getenv('MOODLE_DOCKER_DBCOLLATION')];
15
16
+if (getenv('MOODLE_DOCKER_DBTYPE') === 'sqlsrv') {
17
+ $CFG->dboptions['extrainfo'] = [
18
+ // Disable Encryption for now on sqlsrv.
19
+ // It is on by default from msodbcsql18.
20
+ 'Encrypt' => false,
21
+ ];
22
+}
23
+
24
$host = 'localhost';
25
if (!empty(getenv('MOODLE_DOCKER_WEB_HOST'))) {
26
$host = getenv('MOODLE_DOCKER_WEB_HOST');
0 commit comments