-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (29 loc) · 922 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
30 lines (29 loc) · 922 Bytes
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
services:
clickhouse:
image: clickhouse/clickhouse-server:24.8-alpine
ports:
- "8123:8123"
environment:
CLICKHOUSE_PASSWORD: dev
ulimits:
nofile: 262144
healthcheck:
# 127.0.0.1, not localhost: in-container localhost resolves to ::1, but
# ClickHouse's IPv6 bind can silently fail (listen_try) — e.g. on Docker
# Desktop for Mac — leaving only 0.0.0.0 listening and the check refused.
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:8123/ping"]
interval: 5s
retries: 10
ingester:
build:
context: .
dockerfile: packages/otlp-ingester/Dockerfile
ports:
- "4318:4318"
environment:
CLICKHOUSE_URL: http://clickhouse:8123
CLICKHOUSE_PASSWORD: dev
AUTTER_INGEST_KEYS: '[{"key":"dev-key","orgId":"org1","repositoryId":"repo1"}]'
depends_on:
clickhouse:
condition: service_healthy