diff --git a/.env.example b/.env.example index 895f6b2..fb86a4a 100644 --- a/.env.example +++ b/.env.example @@ -1,6 +1,2 @@ # 根用户密码,不要为空 CLICKHOUSE_PASSWORD= - -# 收集器被动模式监听地址,非 tls 传输,只在内网监听,不要暴露到公网 -OTEL_COLLECTOR_APP_GRPC_HOST= -OTEL_COLLECTOR_APP_HTTP_HOST= diff --git a/docker-compose.yaml b/docker-compose.yaml index 886cecb..2465e42 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -27,8 +27,8 @@ services: volumes: - ./otel/app.yaml:/etc/otelcol-contrib/config.yaml ports: - - ${OTEL_COLLECTOR_APP_GRPC_PORT}:4317 - - ${OTEL_COLLECTOR_APP_HTTP_PORT}:4318 + - 4317:4317 + - 4318:4318 restart: unless-stopped grafana: