-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (49 loc) · 1.58 KB
/
docker-compose.yml
File metadata and controls
49 lines (49 loc) · 1.58 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
services:
hermes:
build:
context: .
dockerfile: docker/Dockerfile
ports:
- "50051:50051" # gRPC API
- "8080:8080" # Web Dashboard
depends_on:
- influxdb
environment:
- OTEL_EXPORTER_OTLP_ENDPOINT=http://lgtm:4317
lgtm:
image: grafana/otel-lgtm
ports:
- "4317:4317" # OpenTelemetry GRPC endpoint
- "4318:4318" # OpenTelemetry HTTP endpoint
- "9090:9090" # Prometheus
- "3100:3100" # Loki
- "3200:3200" # Tempo
- "3000:3000" # Grafana (Comment out if using another Grafana session)
environment:
- GF_INSTALL_PLUGINS=volkovlabs-image-panel
# - ENABLE_LOGS_GRAFANA=true
# - ENABLE_LOGS_LOKI=true
# - ENABLE_LOGS_PROMETHEUS=true
# - ENABLE_LOGS_TEMPO=true
# - ENABLE_LOGS_PYROSCOPE=true
links:
- influxdb
volumes:
- lgtm-data:/data
- ./config/loki-config.yaml:/otel-lgtm/loki-config.yaml
- ./config/grafana-config.ini:/otel-lgtm/grafana/conf/custom.ini
- ./config/grafana-dashboards.yaml:/otel-lgtm/grafana/conf/provisioning/dashboards/grafana-dashboards.yaml
- ./config/dashboards:/otel-lgtm/dashboards
influxdb:
image: influxdb
environment:
DOCKER_INFLUXDB_INIT_MODE: setup
DOCKER_INFLUXDB_INIT_USERNAME: admin
DOCKER_INFLUXDB_INIT_PASSWORD: admin123
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: v6P34mao7UYHblkpDJYt8fmWLw1L79Z77sg3RDgScxHtiYwDO0cowbzOHnHK2ZamDljF6ehNEq8ucRQF-Hr0RA==
DOCKER_INFLUXDB_INIT_ORG: dev
DOCKER_INFLUXDB_INIT_BUCKET: dev
ports:
- 8086:8086/tcp
volumes:
lgtm-data: