-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
66 lines (65 loc) · 1.6 KB
/
docker-compose.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
62
63
64
65
66
version: "3.4"
services:
elasticsearch:
image: "docker.elastic.co/elasticsearch/elasticsearch:8.4.1"
hostname: elasticsearch
ports:
- "9200:9200"
environment:
- "http.host=0.0.0.0"
- "transport.host=0.0.0.0"
- "cluster.name=wellcome"
- "ES_JAVA_OPTS=-Xms750m -Xmx750m"
- "discovery.type=single-node"
- "xpack.security.enabled=false"
common:
build:
context: .
dockerfile: ./common/Dockerfile
ingestor:
build:
context: .
dockerfile: ./ingestor/Dockerfile
ports:
- "9001:8080"
environment:
- "AWS_LAMBDA_FUNCTION_TIMEOUT=600"
- "APP_CONTEXT=docker-compose"
aggregator:
build:
context: .
dockerfile: ./aggregator/Dockerfile
target: sqs_lambda
ports:
- "9000:8080"
environment:
- "APP_CONTEXT=docker-compose"
- "workurl_template=https://api-stage.wellcomecollection.org/catalogue/v2/works/%s?include=identifiers,subjects,contributors,genres"
aggregator-bulk:
build:
context: .
dockerfile: ./aggregator/Dockerfile
target: bulk_lambda
ports:
- "9002:8080"
environment:
- "APP_CONTEXT=docker-compose"
- "AWS_LAMBDA_FUNCTION_TIMEOUT=600"
recorder:
build:
context: .
dockerfile: ./recorder/Dockerfile
target: sqs_lambda
ports:
- "9003:8080"
environment:
- "APP_CONTEXT=docker-compose"
recorder_bulk:
build:
context: .
dockerfile: ./recorder/Dockerfile
target: bulk_lambda
ports:
- "9004:8080"
environment:
- "APP_CONTEXT=docker-compose"