-
Notifications
You must be signed in to change notification settings - Fork 4.7k
/
docker-compose.yaml
54 lines (48 loc) · 1.13 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
services:
front-envoy:
build:
context: .
dockerfile: ../shared/envoy/Dockerfile
depends_on:
service-envoy-1:
condition: service_healthy
service-envoy-2:
condition: service_healthy
ports:
- "${PORT_PROXY:-8080}:8080"
- "${PORT_HTTPS:-8443}:8443"
- "${PORT_STATS:-8001}:8001"
service-envoy-1:
build:
context: .
dockerfile: ../shared/envoy/Dockerfile
target: envoy-admin
args:
ENVOY_CONFIG: ./service-envoy.yaml
ENVOY_ADMIN_PORT: 8001
depends_on:
service1:
condition: service_healthy
service1:
build:
context: ../shared/python
target: aiohttp-tracing-service2
environment:
- SERVICE_NAME=1
service-envoy-2:
build:
context: .
dockerfile: ../shared/envoy/Dockerfile
target: envoy-admin
args:
ENVOY_ADMIN_PORT: 8001
ENVOY_CONFIG: ./service-envoy-2.yaml
depends_on:
service2:
condition: service_healthy
service2:
build:
context: ../shared/python
target: aiohttp-tracing-service2
environment:
- SERVICE_NAME=2