-
Notifications
You must be signed in to change notification settings - Fork 0
/
logs-compose.yaml
50 lines (45 loc) · 1.22 KB
/
logs-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
version: "3"
networks:
ext_log_network:
name: external_logs_network
external: true
int_log_network:
name: internal_logs_network
services:
# fluentd_service:
# image: fluent/fluentd:v1.11-debian
# container_name: fluentd-container
# user: root
# volumes:
# - /var/lib/docker/containers:/fluentd/log/containers
# - ../logging/conf/fluent.conf:/fluentd/etc/fluent.conf:cached
# logging:
# driver: "local"
# restart: on-failure
jaeger_service:
image: jaegertracing/all-in-one:latest
container_name: jaeger-container
networks:
- int_log_network
ports:
- 16686:16686
zipkin_service:
image: openzipkin/zipkin:latest
container_name: zipkin-container
networks:
- int_log_network
ports:
- "9411:9411"
otel_collector_service:
image: otel/opentelemetry-collector-contrib:0.56.0
container_name: otel-collector-container
command: ["--config=/etc/otel-collector-config.yaml"]
networks:
- int_log_network
- ext_log_network
volumes:
- ../logging/conf/otel-collector-config.yaml:/etc/otel-collector-config.yaml:cached
depends_on:
# - fluentd_service
- jaeger_service
- zipkin_service