-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
executable file
·24 lines (24 loc) · 939 Bytes
/
Copy pathdocker-compose.yaml
File metadata and controls
executable file
·24 lines (24 loc) · 939 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# MediaWiki with MariaDB
#
# Access via "http://localhost:9090"
# (or "http://$(docker-machine ip):9090" if using docker-machine)
version: '3'
services:
mediawiki:
user: "${UID}"
image: mediawiki:1.40
restart: always
ports:
- 9999:80
volumes:
- ./volumes/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
- ./LocalSettings.php:/var/www/html/LocalSettings.php
- ./MyLocalSettings.php:/var/www/html/MyLocalSettings.php
- ./volumes/data/:/var/www/data/
- ./phpinfo.php:/var/www/html/phpinfo.php
- ./robots.txt:/var/www/html/robots.txt
- ./TemplateStyles:/var/www/html/extensions/TemplateStyles
# This key also defines the name of the database host used during setup instead of the default "localhost"