-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
86 lines (83 loc) · 2.2 KB
/
docker-compose.yml
File metadata and controls
86 lines (83 loc) · 2.2 KB
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
---
services:
otel-collector:
command:
[
"--config=/etc/otelcol-config.yml",
"--feature-gates=+service.profilesSupport",
]
extra_hosts:
- "host.docker.internal:host-gateway"
image: otel/opentelemetry-collector-contrib
ports:
- mode: ingress
protocol: tcp
published: 4317
target: 4317
- mode: ingress
protocol: tcp
published: 4318
target: 4318
- mode: ingress
protocol: tcp
published: 8888
target: 8888
- mode: ingress
protocol: tcp
published: 55679
target: 55679
restart: on-failure:3
volumes:
- source: ./otelcol-config.yml
target: /etc/otelcol-config.yml
type: bind
otel-lgtm:
environment:
GF_AUTH_ANONYMOUS_ENABLED: "true"
GF_AUTH_ANONYMOUS_ORG_ROLE: Admin
GF_PLUGINS_PREINSTALL: grafana-clickhouse-datasource
GF_USERS_DEFAULT_THEME: light
extra_hosts:
- "host.docker.internal:host-gateway"
image: grafana/otel-lgtm
ports:
- mode: ingress
protocol: tcp
published: 3000
target: 3000
volumes:
- source: otel-lgtm
target: /data
type: volume
- source: ./grafana/datasources/datasources.yml
target: /otel-lgtm/grafana/conf/provisioning/datasources/my-datasources.yaml
type: bind
- source: ./grafana/dashboards/dashboards.yml
target: /otel-lgtm/grafana/conf/provisioning/dashboards/my-dashboards.yaml
type: bind
- source: ./grafana/dashboards/LocalObservability
target: /otel-lgtm/grafana/conf/provisioning/dashboards/LocalObservability
type: bind
clickhouse-server:
environment:
CLICKHOUSE_SKIP_USER_SETUP: 1
image: clickhouse/clickhouse-server
ports:
- mode: ingress
protocol: tcp
published: 8123
target: 8123
ulimits:
nofile:
soft: 262144
hard: 262144
volumes:
- source: clickhouse-server
target: /var/lib/clickhouse
type: volume
- source: clickhouse-server
target: /var/log/clickhouse-server/
type: volume
volumes:
clickhouse-server: ~
otel-lgtm: ~