first commit
This commit is contained in:
commit
8f0e9875f0
2 changed files with 30 additions and 0 deletions
0
README.md
Normal file
0
README.md
Normal file
30
docker-compose.yml
Normal file
30
docker-compose.yml
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
# MediaWiki with MariaDB
|
||||||
|
#
|
||||||
|
# Access via "http://localhost:8080"
|
||||||
|
# (or "http://$(docker-machine ip):8080" if using docker-machine)
|
||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
mediawiki:
|
||||||
|
container_name: rd13-mediawiki
|
||||||
|
image: mediawiki:lts
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 8090:80
|
||||||
|
links:
|
||||||
|
- database
|
||||||
|
volumes:
|
||||||
|
- ./images:/var/www/html/images
|
||||||
|
# After initial setup, download LocalSettings.php to the same directory as
|
||||||
|
# this yaml and uncomment the following line and use compose to restart
|
||||||
|
# the mediawiki service
|
||||||
|
# - ./LocalSettings.php:/var/www/html/LocalSettings.php
|
||||||
|
database:
|
||||||
|
container_name: rd13-mediawiki-mariadb
|
||||||
|
image: mariadb
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
# @see https://phabricator.wikimedia.org/source/mediawiki/browse/master/includes/DefaultSettings.php
|
||||||
|
MYSQL_DATABASE: rd13_mediawiki
|
||||||
|
MYSQL_USER: wikiuser
|
||||||
|
MYSQL_PASSWORD: rd13mediawikidbpw
|
||||||
|
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
|
||||||
Loading…
Add table
Reference in a new issue