From 4a0cb96d57ce5512ca32450863285faf034f07da Mon Sep 17 00:00:00 2001 From: David Barratt Date: Wed, 23 Aug 2017 12:16:09 -0400 Subject: [PATCH] Add default MYSQL_PASSWORD and example LocalSettings volume --- mediawiki/stack.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mediawiki/stack.yml b/mediawiki/stack.yml index b75c16b05..bb1688d29 100644 --- a/mediawiki/stack.yml +++ b/mediawiki/stack.yml @@ -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'