chore(mediawiki): add explicit volume definitions

This commit is contained in:
Paul Makles 2022-05-24 16:49:27 +01:00 committed by GitHub
parent 902e1ceca8
commit 8fc63a1c6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -12,7 +12,7 @@ services:
links: links:
- database - database
volumes: volumes:
- /var/www/html/images - images:/var/www/html/images
# After initial setup, download LocalSettings.php to the same directory as # After initial setup, download LocalSettings.php to the same directory as
# this yaml and uncomment the following line and use compose to restart # this yaml and uncomment the following line and use compose to restart
# the mediawiki service # the mediawiki service
@ -27,3 +27,9 @@ services:
MYSQL_USER: wikiuser MYSQL_USER: wikiuser
MYSQL_PASSWORD: example MYSQL_PASSWORD: example
MYSQL_RANDOM_ROOT_PASSWORD: 'yes' MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
volumes:
- db:/var/lib/mysql
volumes:
images:
db: