完善线上配置

This commit is contained in:
2026-05-08 05:57:27 +00:00
parent e44a3c900b
commit 05eff7ea0f
5 changed files with 18 additions and 7 deletions

View File

@@ -18,12 +18,16 @@ services:
otel-collector-esxi:
image: otel/opentelemetry-collector-contrib:latest
environment:
- CLICKHOUSE_PASSWORD=${CLICKHOUSE_PASSWORD}
volumes:
- ./otel/esxi.yaml:/etc/otelcol-contrib/config.yaml
restart: unless-stopped
otel-collector-app:
image: otel/opentelemetry-collector-contrib:latest
environment:
- CLICKHOUSE_PASSWORD=${CLICKHOUSE_PASSWORD}
volumes:
- ./otel/app.yaml:/etc/otelcol-contrib/config.yaml
ports:
@@ -39,6 +43,8 @@ services:
caddy:
image: caddy:latest
environment:
- GRAFANA_HOST=${CADDY_GRAFANA_HOST}
volumes:
- ./caddy/Caddyfile:/etc/caddy/Caddyfile
ports: