Skip to content

Commit affef21

Browse files
authored
Merge pull request #2564 from DougInAMug/master
MediaWiki example `docker-compose.yml`: remove obsolete "version" attribute
2 parents 73ee412 + fc2afea commit affef21

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mediawiki/stack.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#
33
# Access via "http://localhost:8080"
44
# (or "http://$(docker-machine ip):8080" if using docker-machine)
5-
version: '3'
65
services:
76
mediawiki:
87
image: mediawiki
@@ -17,8 +16,7 @@ services:
1716
# this yaml and uncomment the following line and use compose to restart
1817
# the mediawiki service
1918
# - ./LocalSettings.php:/var/www/html/LocalSettings.php
20-
# This key also defines the name of the database host used during setup instead of the default "localhost"
21-
database:
19+
database: # <- This key defines the name of the database during setup
2220
image: mariadb
2321
restart: always
2422
environment:

0 commit comments

Comments
 (0)