-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
61 lines (59 loc) · 1.76 KB
/
docker-compose.yaml
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
version: "3.2"
services:
qualitytrace:
restart: unless-stopped
image: intelops/qualitytrace:${TAG:-latest}
extra_hosts:
- "host.docker.internal:host-gateway"
# build:
# context: .
volumes:
- type: bind
source: ./local-config/qualitytrace.config.yaml
target: /app/qualitytrace.yaml
- type: bind
source: ./local-config/qualitytrace.provision.yaml
target: /app/provisioning.yaml
ports:
- 11633:11633
command: --provisioning-file /app/provisioning.yaml
healthcheck:
test: ["CMD", "wget", "--spider", "localhost:11633/healthz"]
interval: 1s
timeout: 3s
retries: 60
depends_on:
postgres:
condition: service_healthy
environment:
TRACETEST_DEV: ${TRACETEST_DEV}
# TRACETEST_TESTPIPELINES_TRIGGEREXECUTE_ENABLED: ${TRACETEST_TESTPIPELINES_TRIGGEREXECUTE_ENABLED}
# TRACETEST_TESTPIPELINES_TRACEFETCH_ENABLED: ${TRACETEST_TESTPIPELINES_TRACEFETCH_ENABLED}
# TRACETEST_DATASTOREPIPELINES_TESTCONNECTION_ENABLED: ${TRACETEST_DATASTOREPIPELINES_TESTCONNECTION_ENABLED}
postgres:
image: postgres:15.2
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
ports:
- 5432:5432
healthcheck:
test: pg_isready -U "$$POSTGRES_USER" -d "$$POSTGRES_DB"
interval: 1s
timeout: 5s
retries: 60
otel-collector:
image: otel/opentelemetry-collector-contrib:0.59.0
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "55679:55679"
- "4317:4317"
- "8888:8888"
command:
- "--config"
- "/otel-local-config.yaml"
volumes:
- ./local-config/collector.config.yaml:/otel-local-config.yaml
depends_on:
- qualitytrace