Added MediaWiki
This commit is contained in:
parent
b17cb5924f
commit
a3111b8c16
|
@ -0,0 +1,31 @@
|
|||
version: '3'
|
||||
|
||||
volumes:
|
||||
db:
|
||||
web_conf:
|
||||
|
||||
services:
|
||||
mediawiki:
|
||||
image: mediawiki
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 8080:80
|
||||
links:
|
||||
- db
|
||||
volumes:
|
||||
- web_conf:/var/www/html/
|
||||
# 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
|
||||
db:
|
||||
image: mariadb
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
environment:
|
||||
# @see https://phabricator.wikimedia.org/source/mediawiki/browse/master/includes/DefaultSettings.php
|
||||
MYSQL_DATABASE: wiki
|
||||
MYSQL_USER: wiki
|
||||
MYSQL_PASSWORD: <change>
|
||||
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
|
Loading…
Reference in New Issue