forked from siglens/siglens
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (35 loc) · 1.02 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
version: '3'
services:
siglens:
image: ${IMAGE_NAME}
ports:
- "8081:8081"
- "${UI_PORT}:5122"
volumes:
- "${WORK_DIR}/data:/siglens/data"
- "${WORK_DIR}/logs:/siglens/logs"
- "${WORK_DIR}/${CONFIG_FILE}:/siglens/${CONFIG_FILE}"
command: ["./siglens", "--config", "${CONFIG_FILE}"]
environment:
- UI_PORT=${UI_PORT}
- WORK_DIR=${WORK_DIR}
- IMAGE_NAME=${IMAGE_NAME}
- CSI=${CSI}
hotrod:
image: jaegertracing/example-hotrod:1.53
ports:
- "8080:8080"
environment:
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://siglens:8081/otlp/v1/traces
depends_on:
- siglens
siglens-metrics-otel-collector:
image: docker.io/otel/opentelemetry-collector:latest
volumes:
- "${WORK_DIR}/ssmetrics-otel-collector-config.yaml:/etc/ssmetrics-otel-collector-config.yaml"
ports:
- "4318:4318"
- "2222:2222"
environment:
- WORK_DIR=${WORK_DIR}
command: ["--config=/etc/ssmetrics-otel-collector-config.yaml"]