-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose-ci.yml
53 lines (44 loc) · 1.25 KB
/
docker-compose-ci.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: '3.4'
x-common-variables: &wikibase_variables
WIKIBASE_HOST: localhost
WIKIBASE_PORT: 8080
WDQS_FRONTEND_HOST: localhost
WDQS_FRONTEND_PORT: 8834
QUICKSTATEMENTS_HOST: localhost
QUICKSTATEMENTS_PORT: 8840
# required by quickstatements for creating OAuth consumers,
# and by wikibase for redirecting back to quickstatements
QS_PUBLIC_SCHEME_HOST_AND_PORT: 'http://${QUICKSTATEMENTS_HOST}:${QUICKSTATEMENTS_PORT}'
WB_PUBLIC_SCHEME_HOST_AND_PORT: 'http://${WIKIBASE_HOST}:${WIKIBASE_PORT}'
x-whoami: &whoami-image
containous/whoami
services:
wikibase:
ports:
- "${WIKIBASE_PORT}:80"
environment:
<<: *wikibase_variables
volumes:
- ./mediawiki/LocalSettings.d:/var/www/html/LocalSettings.d:ro
elasticsearch:
environment:
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
wdqs-frontend:
ports:
- "${WDQS_FRONTEND_PORT}:80"
quickstatements:
ports:
- "${QUICKSTATEMENTS_PORT}:80"
environment:
<<: *wikibase_variables
selenium:
image: aot29/selenium
container_name: mardi-selenium
volumes:
- ./test:/test
mardi-backup:
volumes:
# only for running tests
- ./test:/test
mscexplainer:
image: *whoami-image