-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (50 loc) · 1.64 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# 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/buster-php74-fpm:1.0.0-s3
user: "${MW_DOCKER_UID}:${MW_DOCKER_GID}"
volumes:
- ./:/var/www/html/w:cached
env_file:
- '.env'
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: '${MEDIAWIKI_USER:-Admin}'
MW_PASS: '${MEDIAWIKI_PASSWORD:-dockerpass}'
MW_SITENAME: 'MediaWiki'
MW_LOG_DIR: /var/www/html/w/cache
XDEBUG_CONFIG: '${XDEBUG_CONFIG}'
XDEBUG_ENABLE: '${XDEBUG_ENABLE:-true}'
XHPROF_ENABLE: '${XHPROF_ENABLE:-true}'
mediawiki-web:
image: docker-registry.wikimedia.org/dev/buster-apache2:2.0.0-s1
user: "${MW_DOCKER_UID}:${MW_DOCKER_GID}"
ports:
- "${MW_DOCKER_PORT:-8080}:8080"
volumes:
- ./:/var/www/html/w:cached
env_file:
- '.env'
environment:
MW_LOG_DIR: /var/www/html/w/cache
mediawiki-jobrunner:
image: docker-registry.wikimedia.org/dev/buster-php74-jobrunner:1.0.0-s2
user: "${MW_DOCKER_UID}:${MW_DOCKER_GID}"
volumes:
- ./:/var/www/html/w:cached
env_file:
- '.env'
environment:
MW_LOG_DIR: /var/www/html/w/cache
MW_INSTALL_PATH: /var/www/html/w