Apache server in mediawiki-docker crashes when I start mediawiki-docker image. It was complaining about MEDIAWIKI_RESTBASE_URL.
I am using this docker-compose.yml to set up Mediawiki on my laptop.
```
version: '2'
services:
db:
image: mysql
environment:
- MYSQL_ROOT_PASSWORD=muchwowverygood
mediawiki:
image: wikimedia/mediawiki
depends_on:
- db
links:
- db
environment:
- MEDIAWIKI_DB_HOST=db
- MEDIAWIKI_DB_PASSWORD=muchwowverygood
volumes:
- ./data:/data:rw
```
Then it returns an error like this.
```
mediawiki_1 | [Sat Oct 08 11:58:41.112817 2016] [core:warn] [pid 44] AH00111: Config variable ${MEDIAWIKI_RESTBASE_URL} is not defined
mediawiki_1 | AH00526: Syntax error on line 23 of /etc/apache2/mediawiki.conf:
mediawiki_1 | ProxyPass URL must be absolute!: ${MEDIAWIKI_RESTBASE_URL}/
mediawiki_1 | Action '-e info -D FOREGROUND' failed.
mediawiki_1 | The Apache error log may have more information.
```
I was searching about MEDIAWIKI_RESTBASE_URL in the documentation, but the documentation doesn't mention anything about MEDIAWIKI_RESTBASE_URL.
I have trying setup it using `docker-compose.yml` in mediawiki-docker repository also, but it returns the same error.
As a result, I have created two solutions for this problem:
1. https://github.com/wikimedia/mediawiki-docker/pull/8
2. https://github.com/wikimedia/mediawiki-docker/pull/9
I also have made the documentation about MEDIAWIKI_RESTBASE_URL in this pull request:
https://github.com/wikimedia/mediawiki-docker/pull/10