-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
71 lines (57 loc) · 1.53 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
67
68
69
70
71
version: '3.4'
services:
elasticsearch:
container_name: elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch:7.9.2
ports:
- 9200:9200
volumes:
- elasticsearch-data:/usr/share/elasticsearch/data
environment:
- xpack.monitoring.enabled=true
- xpack.watcher.enabled=false
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- discovery.type=single-node
networks:
- elastic
kibana:
container_name: kibana
image: docker.elastic.co/kibana/kibana:7.9.2
ports:
- 5601:5601
depends_on:
- elasticsearch
environment:
- ELASTICSEARCH_URL=http://localhost:9200
networks:
- elastic
catalog.microservice:
image: ${DOCKER_REGISTRY-}catalogmicroservice
build:
context: .
dockerfile: Catalog.Microservice/Dockerfile
customer.microservice:
image: ${DOCKER_REGISTRY-}customermicroservice
build:
context: .
dockerfile: Customer.Microservice/Dockerfile
delivery.microservice:
image: ${DOCKER_REGISTRY-}deliverymicroservice
build:
context: .
dockerfile: Delivery.Microservice/Dockerfile
order.microservice:
image: ${DOCKER_REGISTRY-}ordermicroservice
build:
context: .
dockerfile: Order.Microservice/Dockerfile
gateway.api:
image: ${DOCKER_REGISTRY-}gatewayapi
build:
context: .
dockerfile: Gateway.Api/Dockerfile
networks:
elastic:
driver: bridge
volumes:
elasticsearch-data: