-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
143 lines (131 loc) · 3.16 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
version: "2.1"
services:
elasticsearch:
container_name: elasticsearch
image: elasticsearch:7.17.3
environment:
- discovery.type=single-node
networks:
- elasticsearch_network
volumes:
- /usr/share/elasticsearch/data
jaeger-query:
container_name: jaeger-query
image: jaegertracing/jaeger-query:latest
ports:
- "16686:16686/tcp"
environment:
- SPAN_STORAGE_TYPE=elasticsearch
- ES_SERVER_URLS=http://elasticsearch:9200
networks:
- elasticsearch_network
depends_on:
- elasticsearch
restart: on-failure
jaeger-collector:
container_name: jaeger-collector
image: jaegertracing/jaeger-collector:latest
environment:
- SPAN_STORAGE_TYPE=elasticsearch
- ES_SERVER_URLS=http://elasticsearch:9200
networks:
- collectors_network
- elasticsearch_network
depends_on:
- elasticsearch
restart: on-failure
ioam-collector:
container_name: ioam-collector
image: ioam-collector
build: ./docker/ioam-collector
environment:
- OTEL_EXPORTER_JAEGER_ENDPOINT=http://jaeger-collector:14268/api/traces
networks:
- collectors_network
depends_on:
- jaeger-collector
athos:
container_name: athos
image: athos
build: ./docker/athos
environment:
- OTEL_EXPORTER_JAEGER_PROTOCOL=grpc
- OTEL_EXPORTER_JAEGER_ENDPOINT=jaeger-collector:14250
ports:
- "15123:15123/tcp"
networks:
ioam_subnet1:
ipv6_address: db01::1
collectors_network:
cap_add:
- NET_ADMIN
sysctls:
- net.ipv6.ioam6_id=1
- net.ipv6.conf.eth0.ioam6_id=11
depends_on:
- jaeger-collector
- aramis
porthos:
container_name: porthos
image: porthos
build: ./docker/porthos
networks:
ioam_subnet1:
ipv6_address: db01::2
ioam_subnet2:
ipv6_address: db02::1
cap_add:
- NET_ADMIN
sysctls:
- net.ipv6.conf.all.forwarding=1
- net.ipv6.ioam6_id=2
- net.ipv6.conf.eth0.ioam6_enabled=1
- net.ipv6.conf.eth0.ioam6_id=21
- net.ipv6.conf.eth1.ioam6_id=22
aramis:
container_name: aramis
image: aramis
build: ./docker/aramis
environment:
- IOAM_COLLECTOR=ioam-collector:7123
networks:
ioam_subnet2:
ipv6_address: db02::2
collectors_network:
cap_add:
- NET_ADMIN
sysctls:
- net.ipv6.ioam6_id=3
- net.ipv6.conf.eth0.ioam6_enabled=1
- net.ipv6.conf.eth0.ioam6_id=31
depends_on:
- ioam-collector
networks:
ioam_subnet1:
name: ioam_subnet1
enable_ipv6: true
driver: bridge
driver_opts:
com.docker.network.enable_ipv6: "true"
ipam:
driver: default
config:
- subnet: db01::/64
gateway: db01::9
ioam_subnet2:
name: ioam_subnet2
enable_ipv6: true
driver: bridge
driver_opts:
com.docker.network.enable_ipv6: "true"
ipam:
driver: default
config:
- subnet: db02::/64
gateway: db02::9
collectors_network:
name: collectors_network
driver: bridge
elasticsearch_network:
name: elasticsearch_network
driver: bridge