Add default MYSQL_PASSWORD and example LocalSettings volume
This commit is contained in:
parent
99d9fa915c
commit
4a0cb96d57
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in New Issue