wiki.techinc.nl/docker-compose.yml
Brennen Bearnes efaf43a029 [docker] Use image that anchors MW_SCRIPT_PATH regex
Bumps docker-registry.wikimedia.org/dev/stretch-php72-fpm-apache2-xdebug
from 0.6.1 to 0.6.1-s1 to avoid multiple replacements of the path on
subsequent starts of the docker-compose environment.

Depends-on: Idf25b9a9497d4eb6d8c7e6b7c97b76eb370c3136
Change-Id: Ic3a8c7d132c7ac36f52079001c2152861e26f229
2020-11-18 11:49:31 -07:00

34 lines
1.2 KiB
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.6.1-s1
working_dir: '/var/www/html/w'
ports:
- "${MW_DOCKER_PORT:-8080}:8080"
volumes:
- ./:/var/www/html/w:cached
environment:
COMPOSER_CACHE_DIR: '/var/www/html/w/cache/composer'
MW_SERVER: 'http://localhost:${MW_DOCKER_PORT:-8080}'
MW_SCRIPT_PATH: '/w'
MW_DBPATH: '/var/www/html/w/cache/sqlite'
MW_DBTYPE: 'sqlite'
MW_LANG: 'en'
MW_USER: 'admin'
MW_PASS: 'dockerpass'
MW_SITENAME: 'MediaWiki'
MW_LOG_DIR: /var/www/html/w/cache
XDEBUG_CONFIG: ${XDEBUG_CONFIG}
mediawiki-jobrunner:
image: docker-registry.wikimedia.org/dev/stretch-php72-jobrunner:0.1.0
volumes:
- ./:/var/www/html/w:cached
environment:
MW_LOG_DIR: /var/www/html/w/cache
MW_INSTALL_PATH: /var/www/html/w