-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
61 lines (56 loc) · 2.01 KB
/
docker-compose.yml
File metadata and controls
61 lines (56 loc) · 2.01 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
services:
clickhouse:
image: clickhouse/clickhouse-server:24.4.1
container_name: clickhouse
environment:
CLICKHOUSE_PASSWORD: ${OPENLIT_DB_PASSWORD:-OPENLIT}
CLICKHOUSE_USER: ${OPENLIT_DB_USER:-default}
volumes:
- clickhouse-data:/var/lib/clickhouse
- ./assets/clickhouse-config.xml:/etc/clickhouse-server/config.d/custom-config.xml:ro
ports:
- "9000:9000"
- "8123:8123"
restart: always
openlit:
image: ghcr.io/openlit/openlit:latest
container_name: openlit
environment:
TELEMETRY_ENABLED: "true"
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
PORT: ${PORT:-3000}
DOCKER_PORT: ${PORT:-3000}
# OAuth Environment Variables
GOOGLE_CLIENT_ID: ${GOOGLE_CLIENT_ID:-}
GOOGLE_CLIENT_SECRET: ${GOOGLE_CLIENT_SECRET:-}
GITHUB_CLIENT_ID: ${GITHUB_CLIENT_ID:-}
GITHUB_CLIENT_SECRET: ${GITHUB_CLIENT_SECRET:-}
# TLS Configuration (user-configurable)
OPAMP_ENVIRONMENT: ${OPAMP_ENVIRONMENT:-production}
OPAMP_CERTS_DIR: "/app/opamp/certs"
OPAMP_TLS_INSECURE_SKIP_VERIFY: ${OPAMP_TLS_INSECURE_SKIP_VERIFY:-false}
OPAMP_TLS_REQUIRE_CLIENT_CERT: ${OPAMP_TLS_REQUIRE_CLIENT_CERT:-true}
OPAMP_TLS_MIN_VERSION: ${OPAMP_TLS_MIN_VERSION:-1.2}
OPAMP_TLS_MAX_VERSION: ${OPAMP_TLS_MAX_VERSION:-1.3}
OPAMP_LOG_LEVEL: ${OPAMP_LOG_LEVEL:-info}
env_file:
- path: .env
required: false
ports:
- "${PORT:-3000}:${DOCKER_PORT:-3000}"
- "4317:4317" # OTLP gRPC receiver
- "4318:4318" # OTLP HTTP receiver
depends_on:
- clickhouse
volumes:
- openlit-data:/app/client/data
- ./assets/otel-collector-config.yaml:/etc/otel/otel-collector-config.yaml
restart: always
volumes:
clickhouse-data:
openlit-data: