forked from openlit/openlit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (53 loc) · 1.5 KB
/
docker-compose.yml
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
version: '3.8'
services:
clickhouse:
image: clickhouse/clickhouse-server:24.2.2
container_name: clickhouse
environment:
CLICKHOUSE_PASSWORD: ${OPENLIT_DB_PASSWORD:-OPENLIT}
CLICKHOUSE_USER: ${OPENLIT_DB_USER:-default}
volumes:
- clickhouse-data:/var/lib/clickhouse
ports:
- "9000:9000"
- "8123:8123"
restart: always
openlit:
image: ghcr.io/openlit/openlit:latest
container_name: openlit
environment:
INIT_DB_HOST: clickhouse
INIT_DB_PORT: 8123
INIT_DB_DATABASE: ${OPENLIT_DB_NAME:-openlit}
INIT_DB_USERNAME: ${OPENLIT_DB_USER:-default}
INIT_DB_PASSWORD: ${OPENLIT_DB_PASSWORD:-OPENLIT}
SQLITE_DATABASE_URL: file:/app/client/data/data.db
ports:
- "3000:3000"
depends_on:
- clickhouse
volumes:
- openlit-data:/app/client/data
restart: always
otel-collector:
image: otel/opentelemetry-collector-contrib:0.94.0
container_name: otel-collector
environment:
INIT_DB_HOST: clickhouse
INIT_DB_PORT: 9000
INIT_DB_DATABASE: ${OPENLIT_DB_NAME:-openlit}
INIT_DB_USERNAME: ${OPENLIT_DB_USER:-default}
INIT_DB_PASSWORD: ${OPENLIT_DB_PASSWORD:-OPENLIT}
ports:
- "4317:4317"
- "4318:4318"
- "8888:8888"
- "55679:55679"
depends_on:
- clickhouse
volumes:
- ./assets/otel-collector-config.yaml:/etc/otelcol-contrib/config.yaml
restart: always
volumes:
clickhouse-data:
openlit-data: