-
Notifications
You must be signed in to change notification settings - Fork 392
Expand file tree
/
Copy pathdocker-compose.ci.yml
More file actions
45 lines (45 loc) · 1.35 KB
/
docker-compose.ci.yml
File metadata and controls
45 lines (45 loc) · 1.35 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: hdx-ci
services:
otel-collector:
build:
context: .
dockerfile: docker/otel-collector/Dockerfile
target: dev
args:
OTEL_COLLECTOR_VERSION: ${OTEL_COLLECTOR_VERSION}
OTEL_COLLECTOR_CORE_VERSION: ${OTEL_COLLECTOR_CORE_VERSION}
environment:
CLICKHOUSE_ENDPOINT: 'tcp://ch-server:9000?dial_timeout=10s'
HYPERDX_OTEL_EXPORTER_CLICKHOUSE_DATABASE: ${HYPERDX_OTEL_EXPORTER_CLICKHOUSE_DATABASE}
HYPERDX_OTEL_EXPORTER_TABLES_TTL: '87600h'
HYPERDX_API_KEY: ${HYPERDX_API_KEY}
HYPERDX_LOG_LEVEL: ${HYPERDX_LOG_LEVEL}
volumes:
- ./docker/otel-collector/config.yaml:/etc/otelcol-contrib/config.yaml
restart: on-failure
networks:
- internal
depends_on:
- ch-server
ch-server:
image: clickhouse/clickhouse-server:26.1-alpine
environment:
# default settings
CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT: 1
volumes:
- ./docker/clickhouse/local/config.xml:/etc/clickhouse-server/config.xml
- ./docker/clickhouse/local/users.xml:/etc/clickhouse-server/users.xml
restart: on-failure
ports:
- '${HDX_CI_CH_PORT:-18123}:8123' # http api
networks:
- internal
db:
image: mongo:5.0.32-focal
command: --port 29999
ports:
- '${HDX_CI_MONGO_PORT:-39999}:29999'
networks:
- internal
networks:
internal: