Skip to content

Commit beb8ca8

Browse files
committed
Add mongodb container as part of external services
With moodlehq/moodle-php-apache#16 adding support to mongodb tests back for PHP 7.1, 7.1 and 7.3 this enables them to be executed from moodle-docker. Also, unrelated, README has been updated to show the 7.2 and 7.3 versions as available.
1 parent d05cce0 commit beb8ca8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ You can change the configuration of the docker images by setting various environ
124124
|-------------------------------------------|-----------|---------------------------------------|---------------|------------------------------------------------------------------------------|
125125
| `MOODLE_DOCKER_DB` | yes | pgsql, mariadb, mysql, mssql, oracle | none | The database server to run against |
126126
| `MOODLE_DOCKER_WWWROOT` | yes | path on your file system | none | The path to the Moodle codebase you intend to test |
127-
| `MOODLE_DOCKER_PHP_VERSION` | no | 7.1, 7.0, 5.6 | 7.1 | The php version to use |
127+
| `MOODLE_DOCKER_PHP_VERSION` | no | 7.3, 7.2, 7.1, 7.0, 5.6 | 7.1 | The php version to use |
128128
| `MOODLE_DOCKER_BROWSER` | no | firefox, chrome | firefox | The browser to run Behat against |
129129
| `MOODLE_DOCKER_PHPUNIT_EXTERNAL_SERVICES` | no | any value | not set | If set, dependencies for memcached, redis, solr, and openldap are added |
130130
| `MOODLE_DOCKER_WEB_HOST` | no | any valid hostname | localhost | The hostname for web |

phpunit-external-services.yml

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ services:
77
image: memcached:1.4
88
memcached1:
99
image: memcached:1.4
10+
mongo:
11+
image: mongo:4.0
1012
redis:
1113
image: redis:3
1214
solr:

0 commit comments

Comments
 (0)