-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
94 lines (86 loc) · 2.28 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
version: '3.4'
services:
tmenos3.netcore.apidemo.api:
build:
context: .
dockerfile: src/TMenos3.NetCore.ApiDemo.API/Dockerfile
depends_on:
- rabbitmq
- mssql
- elasticsearch
- redis
links:
- rabbitmq
- mssql
- elasticsearch
- redis
environment:
- ConnectionStrings__DefaultConnection=Server=mssql,1433;Database=ApiDemo;User=sa;Password=MSSQL2017Password;
- FootballData__ApiToken=971bd701486249ae8e6b8ede5bc7f689
- EventBus__HostName=rabbitmq
- LoggingOptions__Node=http://elasticsearch:9200/
ports:
- 8081:80
tmenos3.netcore.apidemo.eventprocessor:
build:
context: .
dockerfile: src/TMenos3.NetCore.ApiDemo.EventProcessor/Dockerfile
depends_on:
- rabbitmq
- mssql
- elasticsearch
- redis
links:
- rabbitmq
- mssql
- elasticsearch
- redis
environment:
- ConnectionStrings__DefaultConnection=Server=mssql,1433;Database=ApiDemo;User=sa;Password=MSSQL2017Password;
- FootballData__ApiToken=971bd701486249ae8e6b8ede5bc7f689
- EventBus__HostName=rabbitmq
- LoggingOptions__Node=http://elasticsearch:9200/
rabbitmq:
image: rabbitmq:3-management-alpine
container_name: rabbitmq
environment:
- RABBITMQ_ERLANG_COOKIE=1WqgH8N2v1qDBDZDbNy8Bg9IkPWLEpu79m6q+0t36lQ=
ports:
- 5672:5672
- 15672:15672
mssql:
image: mcr.microsoft.com/mssql/server:2017-latest-ubuntu
container_name: mssql
environment:
- SA_PASSWORD=MSSQL2017Password
- ACCEPT_EULA=Y
- MSSQL_PID=Developer
ports:
- "1433"
elasticsearch:
container_name: elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch:7.6.1
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
kibana:
container_name: kibana
image: docker.elastic.co/kibana/kibana:7.6.1
ports:
- 5601:5601
depends_on:
- elasticsearch
environment:
- ELASTICSEARCH_URL=http://elasticsearch:9200
redis:
image: redis
ports:
- "6379:6379"
volumes:
elasticsearch-data: