-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
83 lines (79 loc) · 2.73 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
83 lines (79 loc) · 2.73 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
services:
clickhouse:
image: clickhouse/clickhouse-server:26.1-alpine
container_name: gratheon-clickhouse-observability
restart: unless-stopped
environment:
CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT: 1
ports:
- "8123:8123"
- "9001:9000"
volumes:
- ./docker/clickhouse/local/config.xml:/etc/clickhouse-server/config.xml:ro
- ./docker/clickhouse/local/users.xml:/etc/clickhouse-server/users.xml:ro
- ./docker/clickhouse/init:/docker-entrypoint-initdb.d:ro
- ./.volumes/clickhouse/data:/var/lib/clickhouse
- ./.volumes/clickhouse/logs:/var/log/clickhouse-server
mongo:
image: mongo:5.0.32-focal
restart: unless-stopped
volumes:
- ./.volumes/mongo:/data/db
otel-collector:
image: docker.clickhouse.com/clickhouse/clickstack-otel-collector:2
user: "0:0"
restart: unless-stopped
environment:
CLICKHOUSE_ENDPOINT: tcp://clickhouse:9000?dial_timeout=10s
HYPERDX_OTEL_EXPORTER_CLICKHOUSE_DATABASE: default
HYPERDX_OTEL_EXPORTER_CREATE_LEGACY_SCHEMA: "true"
HYPERDX_LOG_LEVEL: debug
OPAMP_SERVER_URL: http://hyperdx:4320
CUSTOM_OTELCOL_CONFIG_FILE: /etc/otelcol-contrib/custom.config.yaml
ports:
- "4317:4317"
- "4318:4318"
- "13133:13133"
- "8888:8888"
volumes:
- ./docker/otel-collector/custom.config.yaml:/etc/otelcol-contrib/custom.config.yaml:ro
- /:/hostfs:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
depends_on:
- clickhouse
hyperdx:
image: docker.hyperdx.io/hyperdx/hyperdx:2
container_name: gratheon-hyperdx
restart: unless-stopped
environment:
HYPERDX_API_PORT: 8000
HYPERDX_APP_PORT: 8080
HYPERDX_APP_URL: http://localhost
FRONTEND_URL: http://localhost:8081
SERVER_URL: http://127.0.0.1:8000
MONGO_URI: mongodb://mongo:27017/hyperdx
MINER_API_URL: http://miner:5123
OPAMP_PORT: 4320
USAGE_STATS_ENABLED: ${USAGE_STATS_ENABLED:-false}
DEFAULT_CONNECTIONS: '[{"name":"Local ClickHouse","host":"http://clickhouse:8123","username":"default","password":""}]'
ports:
- "8081:8080"
- "8000:8000"
depends_on:
- clickhouse
- mongo
retention:
image: clickhouse/clickhouse-server:26.1-alpine
restart: unless-stopped
environment:
CLICKHOUSE_HOST: clickhouse
HYPERDX_OTEL_EXPORTER_CLICKHOUSE_DATABASE: default
CLICKSTACK_LOG_RETENTION_DAYS: 14
CLICKSTACK_TRACE_RETENTION_DAYS: 7
CLICKSTACK_METRIC_RETENTION_DAYS: 30
CLICKSTACK_SESSION_RETENTION_DAYS: 14
volumes:
- ./docker/clickhouse/retention/apply-retention.sh:/apply-retention.sh:ro
entrypoint: ["/bin/sh", "/apply-retention.sh"]
depends_on:
- clickhouse