-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (36 loc) · 1007 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (36 loc) · 1007 Bytes
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
---
services:
main:
build: .
ports:
- "8080:8080"
- "8081:8081"
environment:
# logging
LOG_LEVEL: "info"
# metrics
METRICS_ENABLED: "true"
METRICS_PORT: "8081"
LOCAL: "true"
# tracing
TRACING_ENABLED: "true"
TRACING_SAMPLERATE: "1.0"
TRACING_SERVICE: "ip"
TRACING_VERSION: "0.0.1"
OTEL_EXPORTER_OTLP_ENDPOINT: "http://lgtm:4317"
# grpc (otlp tracing)
# GRPC_GO_LOG_VERBOSITY_LEVEL: 99
# GRPC_GO_LOG_SEVERITY_LEVEL: info
lgtm:
image: grafana/otel-lgtm
ports:
- "3000:3000" # Grafana UI
- "4317:4317" # OTLP
- "4318:4318" # OTLPHTTP
volumes:
- ./docker/grafana/dashboards:/var/lib/grafana/dashboards
- ./docker/grafana/dashboards.yaml:/otel-lgtm/grafana/conf/provisioning/dashboards/grafana-dashboards.yaml
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true