docker-mediawiki/docker-compose.yml
Adam Goldsmith c094c21b43 Update to Mediawiki 1.35, remove parsoid
also now have to derive the name of extension branches from the
mediawiki major version, rather than having a nice variable for it
2020-10-13 01:11:53 -04:00

23 lines
572 B
YAML

version: '3'
services:
mediawiki:
build: .
depends_on:
- database
restart: always
ports:
- 127.0.0.1:31322:80
volumes:
- ./images:/var/www/html/images
- ./LocalSettings.php:/var/www/html/LocalSettings.php:ro
- ./secrets.php:/var/www/html/secrets.php:ro
- ./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini:ro
database:
image: mariadb
restart: always
env_file: .env
environment:
MYSQL_DATABASE: mediawiki
#MYSQL_USER and MYSQL_PASSWORD in .env
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'