bumped down version of docker-compose for compatibility, updated MediaWiki image, moved compose directives structure
This commit is contained in:
parent
ad768f5552
commit
94c78d1a8b
|
@ -1,4 +1,4 @@
|
|||
version: "3.7"
|
||||
version: "3.5"
|
||||
|
||||
services:
|
||||
db:
|
||||
|
@ -13,20 +13,19 @@ services:
|
|||
- MYSQL_USER=mdwiki
|
||||
- MYSQL_PASSWORD=${MYSQL_MEDIAWIKI_PASSWORD}
|
||||
expose:
|
||||
- "3306"
|
||||
|
||||
- 3306
|
||||
wiki:
|
||||
container_name: mediawiki_webserver
|
||||
image: mediawiki:1.34.0
|
||||
image: mediawiki:1.34.1
|
||||
restart: always
|
||||
depends_on:
|
||||
- db
|
||||
volumes:
|
||||
- ./data/mediawiki/images:/var/www/html/images
|
||||
- ./data/mediawiki/config/LocalSettings.php:/var/www/html/LocalSettings.php
|
||||
links:
|
||||
- db
|
||||
expose:
|
||||
- "80"
|
||||
- 80
|
||||
ports:
|
||||
- "${MEDIAWIKI_HTTP_PORT}:80"
|
||||
links:
|
||||
- db
|
||||
depends_on:
|
||||
- db
|
||||
|
|
Loading…
Reference in New Issue