wiki.techinc.nl/docker-compose.yml
Kosta Harlan 002f50d4fc [docker] Update working directory to /var/www/html/w
Also documents configuration changes in DEVELOPERS.md.

Depends-On: I5b0ac1cbb1d1a2381eff757a1903bce2dacf09d0
Depends-On: I3d967b610a032625318c5a2d233254f7e7ccbf13
Bug: T261051
Bug: T262392
Change-Id: I7801f549c887952f5d092651c2543ace6d56e909
2020-10-01 09:18:16 +00:00

34 lines
1.1 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
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