-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.gcp-e2e.yml
More file actions
25 lines (25 loc) · 1.04 KB
/
docker-compose.gcp-e2e.yml
File metadata and controls
25 lines (25 loc) · 1.04 KB
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
services:
otel-collector:
image: otel/opentelemetry-collector-contrib:0.146.1
restart: unless-stopped
environment:
GOOGLE_CLOUD_PROJECT: ${GOOGLE_CLOUD_PROJECT:?GOOGLE_CLOUD_PROJECT must be set}
GOOGLE_APPLICATION_CREDENTIALS: ${GOOGLE_APPLICATION_CREDENTIALS:-}
NODE_ENV: e2e
OTEL_SERVICE_NAMESPACE: tx-agent-kit
command:
- --config=/etc/otel-collector/otel-collector.gcp.yaml
volumes:
- ./monitoring/production/otel-collector.gcp.yaml:/etc/otel-collector/otel-collector.gcp.yaml:ro
- "${OTEL_COLLECTOR_GCP_CREDENTIALS_DIR:-./deploy/gcp-empty}:/var/secrets/google:ro"
- "${OTEL_COLLECTOR_GCLOUD_CONFIG_DIR:-./deploy/gcloud-empty}:/root/.config/gcloud:ro"
ports:
- '${OTEL_E2E_OTLP_GRPC_PORT:-14317}:4317'
- '${OTEL_E2E_OTLP_HTTP_PORT:-14318}:4318'
- '${OTEL_E2E_HEALTH_PORT:-14333}:13133'
healthcheck:
test: ['CMD', 'wget', '--spider', '-q', 'http://127.0.0.1:13133/health/status']
interval: 10s
timeout: 5s
retries: 5
start_period: 10s