Browse Source

Merge pull request #2564 from DougInAMug/master

MediaWiki example `docker-compose.yml`: remove obsolete "version" attribute
Tianon Gravi 7 months ago
parent
commit
affef214a7
1 changed files with 1 additions and 3 deletions
  1. 1 3
      mediawiki/stack.yml

+ 1 - 3
mediawiki/stack.yml

@@ -2,7 +2,6 @@
 #
 # Access via "http://localhost:8080"
 #   (or "http://$(docker-machine ip):8080" if using docker-machine)
-version: '3'
 services:
   mediawiki:
     image: mediawiki
@@ -17,8 +16,7 @@ services:
       # this yaml and uncomment the following line and use compose to restart
       # the mediawiki service
       # - ./LocalSettings.php:/var/www/html/LocalSettings.php
-  # This key also defines the name of the database host used during setup instead of the default "localhost"
-  database:
+  database: # <- This key defines the name of the database during setup
     image: mariadb
     restart: always
     environment: