-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
72 lines (68 loc) · 1.68 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
68
69
70
71
72
version: "3"
services:
mozart:
build: service_orchestra/
ports:
- "3333:3333"
environment:
PROXY_URL: envoy
depends_on:
- consul
networks:
envoymesh:
aliases:
- mozart
hello:
build: service_hello/
ports:
- "3333"
networks:
envoymesh:
aliases:
- hello
restart: always
where:
build: service_where/
ports:
- "3333"
restart: always
networks:
envoymesh:
aliases:
- where
who:
build: service_who/
ports:
- "3333"
restart: always
networks:
envoymesh:
aliases:
- who
envoy:
build:
context: envoy/
volumes:
- ./envoy/config/:/etc/envoy/
- ./envoy/hot-restart.py:/usr/local/bin/hot-restart.py
- ./envoy/start_envoy.sh:/usr/local/bin/start_envoy.sh
- ./envoy/logs:/var/log/envoy
command: /usr/local/bin/hot-restart.py /usr/local/bin/start_envoy.sh
# -c /etc/envoy/front-envoy.yaml --service-cluster front-proxy
ports:
- 10080:80
- 10081:8001
networks:
envoymesh:
aliases:
- envoy
consul:
image: consul
ports:
- "8500:8500"
networks:
envoymesh:
aliases:
- consul
networks:
envoymesh: