-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.sample.yml
61 lines (59 loc) · 2.3 KB
/
docker-compose.sample.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
54
55
56
57
58
59
60
61
services:
function-orchestrator:
image: docker-registry.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator:latest
# Un-comment this if you're using a local build, by running this in your check-out of the orchestrator:
# docker build -f .pipeline/blubber.yaml --target development -t local-orchestrator .
# image: local-orchestrator:latest
ports:
- 6254:6254
environment:
WIKI_API_URL: "http://mediawiki-web:8080/w/api.php"
WIKIDATA_API_URL: "https://www.wikidata.org"
ORCHESTRATOR_CONFIG: |
{
"evaluatorConfigs": [
{
"programmingLanguages": [
"Z610",
"Z611",
"Z612",
"Z613",
"Z614",
"Z615"
],
"evaluatorUri": "http://mediawiki-function-evaluator-python-1:6927/1/v1/evaluate/",
"evaluatorWs": "",
"useReentrance": false
},
{
"programmingLanguages": [
"Z600",
"Z601",
"Z602",
"Z603",
"Z604",
"Z605",
"Z606",
"Z607",
"Z608"
],
"evaluatorUri": "http://mediawiki-function-evaluator-javascript-1:6927/1/v1/evaluate/",
"evaluatorWs": "",
"useReentrance": false
}
]
}
function-evaluator-python:
image: docker-registry.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator/wasm-python3-all:latest
# Un-comment this if you're using a local build, by running this in your check-out of the evaluator:
# docker build -f .pipeline/blubber.yaml --target development-python3-all-wasm -t local-evaluator-py .
# image: local-evaluator-py:latest
ports:
- 6928:6927
function-evaluator-javascript:
image: docker-registry.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator/wasm-javascript-all:latest
# Un-comment this if you're using a local build, by running this in your check-out of the evaluator:
# docker build -f .pipeline/blubber.yaml --target development-javascript-all-wasm -t local-evaluator-js .
# image: local-evaluator-js:latest
ports:
- 6929:6927