-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
56 lines (51 loc) · 1.54 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
services:
consul:
image: hashicorp/consul
container_name: consul
command: consul agent -dev -log-level=warn -ui -client=0.0.0.0
hostname: consul
networks:
- common_network
valueservice1.openapi:
image: valueservice.openapi:latest
container_name: valueservice1.openapi
restart: on-failure
hostname: valueservice1.openapi
build:
context: .
dockerfile: src/ValueService.OpenApi/Dockerfile
networks:
- common_network
valueservice2.openapi:
image: valueservice.openapi:latest
container_name: valueservice2.openapi
restart: on-failure
hostname: valueservice2.openapi
build:
context: .
dockerfile: src/ValueService.OpenApi/Dockerfile
networks:
- common_network
valueservice3.openapi:
image: valueservice.openapi:latest
container_name: valueservice3.openapi
restart: on-failure
hostname: valueservice3.openapi
build:
context: .
dockerfile: src/ValueService.OpenApi/Dockerfile
networks:
- common_network
services.gateway:
image: services.gateway:latest
container_name: services.gateway
restart: on-failure
hostname: services.gateway
build:
context: .
dockerfile: src/Services.Gateway/Dockerfile
networks:
- common_network
networks:
common_network:
driver: bridge