forked from davinci26/windows-envoy-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
65 lines (62 loc) · 1.25 KB
/
docker-compose.yaml
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
version: "3.7"
services:
front-envoy:
build:
context: .
dockerfile: Dockerfile-envoy
networks:
- envoymesh
expose:
- "8080"
- "8081"
ports:
- "3000:8080"
- "8081:8081"
volumes:
- ./front-envoy-logs:C:/logs
- ./front-envoy-config:C:/envoy-config
depends_on:
- dog-service
- cat-service
dog-service:
build:
context: .
dockerfile: Dockerfile-service
args:
- servicePath=./service1/
expose:
- "8000"
ports:
- "3001:8000"
- "8082:8081"
volumes:
- ./dog-envoy-logs:C:/logs
- ./service-envoy-config:C:/envoy-config
networks:
envoymesh:
aliases:
- service1
environment:
- ServiceId=1
cat-service:
build:
context: .
dockerfile: Dockerfile-service
args:
- servicePath=./service2/
expose:
- "8000"
ports:
- "3002:8000"
- "8083:8081"
volumes:
- ./cat-envoy-logs:C:/logs
- ./service-envoy-config:C:/envoy-config
networks:
envoymesh:
aliases:
- service2
environment:
- ServiceId=2
networks:
envoymesh: {}