|
|
@@ -12,10 +12,15 @@ services:
|
|
|
- database
|
|
|
volumes:
|
|
|
- /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:
|
|
|
image: mariadb
|
|
|
environment:
|
|
|
# @see https://phabricator.wikimedia.org/source/mediawiki/browse/master/includes/DefaultSettings.php
|
|
|
MYSQL_DATABASE: 'my_wiki'
|
|
|
MYSQL_USER: 'wikiuser'
|
|
|
+ MYSQL_PASSWORD: ''
|
|
|
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
|