45 lines
1.0 KiB
YAML
45 lines
1.0 KiB
YAML
name: observe
|
|
|
|
services:
|
|
clickhouse:
|
|
image: clickhouse/clickhouse-server:latest
|
|
environment:
|
|
- CLICKHOUSE_PASSWORD=${CLICKHOUSE_PASSWORD}
|
|
volumes:
|
|
- clickhouse-data:/var/lib/clickhouse
|
|
- ./clickhouse/configs:/etc/clickhouse-server/config.d:ro
|
|
ulimits:
|
|
nofile:
|
|
soft: 262144
|
|
hard: 262144
|
|
ports:
|
|
- 9000:9000
|
|
restart: unless-stopped
|
|
|
|
otel-collector-esxi:
|
|
image: otel/opentelemetry-collector-contrib:latest
|
|
volumes:
|
|
- ./otel/esxi.yaml:/etc/otelcol-contrib/config.yaml
|
|
restart: unless-stopped
|
|
|
|
otel-collector-app:
|
|
image: otel/opentelemetry-collector-contrib:latest
|
|
volumes:
|
|
- ./otel/app.yaml:/etc/otelcol-contrib/config.yaml
|
|
ports:
|
|
- ${OTEL_COLLECTOR_APP_GRPC_PORT}:4317
|
|
- ${OTEL_COLLECTOR_APP_HTTP_PORT}:4318
|
|
restart: unless-stopped
|
|
|
|
grafana:
|
|
image: grafana/grafana-enterprise:latest
|
|
volumes:
|
|
- grafana-data:/var/lib/grafana
|
|
ports:
|
|
- 23000:3000
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
clickhouse-data:
|
|
grafana-data:
|