лаба на 5

This commit is contained in:
2026-11-25 22:33:46 +03:00
parent 3d38735a22
commit 25904d2aac
38 changed files with 20792 additions and 9 deletions
+4 -1
View File
@@ -4,6 +4,9 @@ x-api: &api
dockerfile: Dockerfile
environment: &api-environment
APP_ENV: lab
TELEMETRY_ENABLED: "${TELEMETRY_ENABLED:-1}"
TELEMETRY_TRACE_SAMPLE_RATIO: "${TELEMETRY_TRACE_SAMPLE_RATIO:-1.0}"
TELEMETRY_BENCHMARK_ENABLED: "${TELEMETRY_BENCHMARK_ENABLED:-0}"
SESSION_TTL_SECONDS: 3600
DATABASE_URL_FILE: /run/secrets/database_url
CACHE_URL_FILE: /run/secrets/cache_url
@@ -208,7 +211,7 @@ services:
image: otel/opentelemetry-collector-contrib:0.120.0
command: ["--config=/etc/otelcol/config.yaml"]
volumes:
- ./infra/otel/config.yaml:/etc/otelcol/config.yaml:ro
- ./infra/otel/${TELEMETRY_COLLECTOR_CONFIG:-config.yaml}:/etc/otelcol/config.yaml:ro
depends_on:
- loki
- tempo