-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
55 lines (50 loc) · 1.07 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
version: "3.9"
services:
server1:
image: "mini-saas-server"
ports:
- "8080:8080"
networks:
- envoymesh
environment:
"server.id": "1"
"server.port": "8080"
server2:
image: "mini-saas-server"
ports:
- "7070:7070"
networks:
- envoymesh
environment:
"server.id": "2"
"server.port": "7070"
client:
image: "mini-saas-client"
ports:
- "8081:8081"
networks:
- envoymesh
envoy:
image: "envoyproxy/envoy:v1.19-latest"
ports:
- 9901:9901
- 10000:10000
volumes:
# - ./envoy/envoy.yaml:/etc/envoy/envoy.yaml
- ./envoy/bootstrap.yaml:/etc/envoy/bootstrap.yaml
networks:
- envoymesh
command:
- "--component-log-level http:debug,http2:debug,grpc:debug,matcher:debug,router:debug,filter:debug"
- "-c /etc/envoy/bootstrap.yaml"
envoy-xds-server:
image: "envoy-xds-server"
ports:
- "18000:18000"
networks:
- envoymesh
command:
- "--nodeID=envoy-proxy"
- "-debug"
networks:
envoymesh: {}