Updates docker-compose.yml to run stretch-php72-fpm-apache2-xdebug:0.3.0, which will contain a /docker/install.sh. Usage is described in DEVELOPERS.md. Depends-On: Icf7dd0e22e0421cf97de1d7c1d4a44ca14f2190a Bug: T246953 Change-Id: Ib7e6e9b872c284583db3a5e83b310183343b4341
26 lines
891 B
YAML
26 lines
891 B
YAML
# Please see DEVELOPERS.md for help
|
|
#
|
|
# Contributions to this file are welcome but please note that this file is
|
|
# minimal by design, with the idea to make it easily extensible via
|
|
# docker-compose.override.yml. For help with doing that, please see
|
|
# DEVELOPERS.md
|
|
version: '3.7'
|
|
services:
|
|
mediawiki:
|
|
image: docker-registry.wikimedia.org/dev/stretch-php72-fpm-apache2-xdebug:0.3.0
|
|
ports:
|
|
- "${MW_DOCKER_PORT:-8080}:8080"
|
|
volumes:
|
|
- ./:/var/www/html:cached
|
|
environment:
|
|
COMPOSER_CACHE_DIR: '/var/www/html/cache/composer'
|
|
MW_SERVER: 'http://localhost:${MW_DOCKER_PORT:-8080}'
|
|
MW_SCRIPT_PATH: ''
|
|
MW_DBPATH: '/var/www/html/cache/sqlite'
|
|
MW_DBTYPE: 'sqlite'
|
|
MW_LANG: 'en'
|
|
MW_USER: 'admin'
|
|
MW_PASS: 'dockerpass'
|
|
MW_SITENAME: 'MediaWiki'
|
|
MW_LOG_DIR: /var/www/html/cache
|
|
XDEBUG_CONFIG: ${XDEBUG_CONFIG}
|