-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
39 lines (36 loc) · 971 Bytes
/
docker-compose.yaml
File metadata and controls
39 lines (36 loc) · 971 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
31
32
33
34
35
36
37
38
39
version: '3.8'
services:
clickhouse-service:
image: clickhouse/clickhouse-server:25.5.1
container_name: clickhouse
environment:
CLICKHOUSE_DB: "brahmand"
CLICKHOUSE_USER: "test_user"
CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT: "1"
CLICKHOUSE_PASSWORD: "test_pass"
ports:
- "9000:9000"
- "8123:8123"
healthcheck:
test: ["CMD", "clickhouse-client", "--query", "SELECT 1"]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
volumes:
- ./clickhouse_data:/var/lib/clickhouse
brahmand:
image: darshandevrai/brahmand:latest
container_name: brahmand
depends_on:
clickhouse-service:
condition: service_healthy
environment:
CLICKHOUSE_URL: "http://clickhouse-service:8123"
CLICKHOUSE_USER: "test_user"
CLICKHOUSE_PASSWORD: "test_pass"
CLICKHOUSE_DATABASE: "brahmand"
ports:
- "8080:8080"
volumes:
clickhouse_data: