-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
67 lines (60 loc) · 1.76 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
version: '3.6'
services:
# Elasticsearch Docker Images: https://www.docker.elastic.co/
elasticsearch:
container_name: elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch:7.9.2
restart: on-failure
hostname: elasticsearch
networks:
- common_network
kibana:
container_name: kibana
image: docker.elastic.co/kibana/kibana:7.9.2
restart: on-failure
hostname: kibana
networks:
- common_network
servicea.openapi:
container_name: servicea.openapi
image: servicea.openapi:latest
restart: on-failure
hostname: servicea.openapi
build:
context: .
dockerfile: src/ServiceA.OpenApi/Dockerfile
networks:
- common_network
serviceb.openapi:
container_name: serviceb.openapi
image: serviceb.openapi:latest
restart: on-failure
hostname: serviceb.openapi
build:
context: .
dockerfile: src/ServiceB.OpenApi/Dockerfile
networks:
- common_network
servicec.openapi:
container_name: servicec.openapi
image: servicec.openapi:latest
restart: on-failure
hostname: servicec.openapi
build:
context: .
dockerfile: src/ServiceC.OpenApi/Dockerfile
networks:
- common_network
services.gateway:
container_name: services.gateway
image: services.gateway:latest
restart: on-failure
hostname: services.gateway
build:
context: .
dockerfile: src/Services.Gateway/Dockerfile
networks:
- common_network
networks:
common_network:
driver: bridge