Skip to content

Commit 114e5b7

Browse files
committed
Update Readme.md
1 parent 08a328d commit 114e5b7

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

README.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,30 @@
11
# moodle-php-apache: A Moodle PHP Environment
22

3-
A Moodle PHP environment configured for Moodle development.
3+
A Moodle PHP environment configured for Moodle development based on [Official PHP Images](https://hub.docker.com/_/php/).
44

5-
PHP and Apache configured to serve /var/www/html/ based on [Official PHP Images](https://hub.docker.com/_/php/) with php extensions required for all Moodle database drivers and extensions.
6-
7-
# Versions
5+
### Versions
86

97
| PHP Version | Tag | Status |
108
|--------------|-----|--------|
119
| PHP 7.1 | 7.1 | [![Build Status](https://travis-ci.org/danpoltawski/moodle-php-apache.svg?branch=php71)](https://travis-ci.org/danpoltawski/moodle-php-apache)|
1210
| PHP 7.0 | 7.0 | [![Build Status](https://travis-ci.org/danpoltawski/moodle-php-apache.svg?branch=php70)](https://travis-ci.org/danpoltawski/moodle-php-apache)|
1311
|PHP 5.6 | 5.6 | [![Build Status](https://travis-ci.org/danpoltawski/moodle-php-apache.svg?branch=php56)](https://travis-ci.org/danpoltawski/moodle-php-apache)|
12+
13+
# Example usage
14+
The following command will expose the current working directory on port 8080:
15+
```bash
16+
$ docker run --name web0 -p 8080:80 -v $PWD:/var/www/html danpoltawski/moodle-php-apache:7.1
17+
```
18+
19+
# Features
20+
21+
* Preconfigured with all php extensions required for Moodle development and all database drivers
22+
* Serves wwroot configured at /var/www/html/
23+
* Verified by [automated tests](https://travis-ci.org/danpoltawski/moodle-php-apache)
24+
25+
26+
# See also
27+
This container is part of a set of containers for Moodle development, see also:
28+
* [docker-moodle](https://github.com/danpoltawski/docker-moodle) a docker-composer based set of tools to get Moodle development running with zero configuration
29+
* [moodle-db-mssql](https://github.com/danpoltawski/moodle-db-mssql) Microsoft SQL Server for Linux configured for Moodle development
30+
* [moodle-db-oracle](https://github.com/danpoltawski/moodle-db-oracle) Oracle XE configured for Moodle development

0 commit comments

Comments
 (0)