-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
46 lines (42 loc) · 1.16 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
version: "3.2"
services:
housing-search-listener-tests:
image: housing-search-listener-tests
build:
context: .
dockerfile: HousingSearchListener.Tests/Dockerfile
args:
- LBHPACKAGESTOKEN=${LBHPACKAGESTOKEN}
- SONAR_TOKEN=${SONAR_TOKEN}
ports:
- 3000:3000
environment:
- ELASTICSEARCH_DOMAIN_URL=http://housing-search-listener-elasticsearch:9200
links:
- housing-search-listener-elasticsearch
networks:
- elastic
housing-search-listener-elasticsearch:
image: housing-search-listener-elasticsearch
container_name: housing-search-listener-elasticsearch
build:
context: .
dockerfile: data/elasticsearch/Dockerfile
environment:
- xpack.security.enabled=false
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ports:
- 9200:9200
- 9300:9300
volumes:
- housing-search-listener-esdata-test:/usr/share/elasticsearch/data
networks:
- elastic
volumes:
housing-search-listener-esdata-test:
driver: local
networks:
elastic:
driver: bridge