From 8fc63a1c6c985353af894baed5f7f4ae73c056f7 Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Tue, 24 May 2022 16:49:27 +0100 Subject: [PATCH] chore(mediawiki): add explicit volume definitions --- mediawiki/stack.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mediawiki/stack.yml b/mediawiki/stack.yml index 29e6a04de..3406c3b85 100644 --- a/mediawiki/stack.yml +++ b/mediawiki/stack.yml @@ -12,7 +12,7 @@ services: links: - database volumes: - - /var/www/html/images + - images:/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 @@ -27,3 +27,9 @@ services: MYSQL_USER: wikiuser MYSQL_PASSWORD: example MYSQL_RANDOM_ROOT_PASSWORD: 'yes' + volumes: + - db:/var/lib/mysql + +volumes: + images: + db: