-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.dev.yml
39 lines (39 loc) · 1.12 KB
/
docker-compose.dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
services:
wiki:
build: .
volumes:
- ./data/images:/var/www/html/images
# Extensions with customizations, others are copied on image build
- ./extensions/PageForms:/var/www/html/extensions/PageForms
- ./extensions/ConfirmEdit:/var/www/html/extensions/ConfirmEdit
# Settings
- ./conf/LocalSettings.php:/var/www/html/LocalSettings.php
# Semantics Configuration
- ./data/semantics:/var/www/html/semantics_config
# Nginx configuration
- ./conf/nginx.conf:/etc/nginx/sites-enabled/default
ports:
- "${WIKI_PORT}:80"
environment:
- WIKI_ENV=Dev
- DB_TYPE=mysql
- DB_SERVER=db
- DB_NAME
- DB_USER
- DB_PASSWORD
- ADMIN_USER
- ADMIN_PASS
- FULL_URL=http://localhost:${WIKI_PORT}
- MEDIAWIKI_SECRET
- WIKI_CAPTCHA_KEY
- WIKI_CAPTCHA_SITE
db:
image: mariadb:10.6.13
restart: always
environment:
MYSQL_DATABASE: "${DB_NAME}"
MYSQL_USER: "${DB_USER}"
MYSQL_PASSWORD: "${DB_PASSWORD}"
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
volumes:
- ./data/db:/var/lib/mysql