-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
62 lines (56 loc) · 1.14 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
version: '3'
networks:
rbindernet: {}
services:
front-envoy:
build:
context: ./
dockerfile: Dockerfile-frontenvoy
volumes:
- ./front-envoy-zipkin.yaml:/etc/front-envoy.yaml
networks:
- rbindernet
expose:
- "80"
ports:
- "8000:80"
service1:
build:
context: ../../
dockerfile: ./demo/proxied_services/Dockerfile-service
volumes:
- ./service1-envoy-zipkin.yaml:/etc/service-envoy.yaml
networks:
rbindernet:
aliases:
- service1
environment:
SERVICE_NAME: 1
RBINDER: "${RBINDER}"
SKIP_INSERVICE_PROPAGATION: "${RBINDER}"
expose:
- "80"
service2:
build:
context: ../../
dockerfile: ./demo/proxied_services/Dockerfile-service
volumes:
- ./service2-envoy-zipkin.yaml:/etc/service-envoy.yaml
networks:
rbindernet:
aliases:
- service2
environment:
- SERVICE_NAME=2
expose:
- "80"
zipkin:
image: openzipkin/zipkin
networks:
rbindernet:
aliases:
- zipkin
expose:
- "9411"
ports:
- "9411:9411"