-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
41 lines (39 loc) · 1.05 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
41 lines (39 loc) · 1.05 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
version: "3.7"
services:
dev_clickhouse_server:
image: clickhouse/clickhouse-server:23.6.2.18-alpine
ports:
- 8143:8123
- 9000:9000
volumes:
- ./_dev/clickhouse:/var/lib/clickhouse
- ./_dev/clickhouse-users/:/etc/clickhouse-server/users.d/
ulimits:
nproc: 65535
nofile:
soft: 262144
hard: 262144
server:
build: .
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:8087/health || exit 1
interval: 30s
retries: 3
start_period: 3s
timeout: 10s
ports:
- 8087:8087
environment:
- BRUM_SERVER_PORT=8087
- BRUM_DATABASE_HOST=dev_clickhouse_server
- BRUM_DATABASE_PORT=9000
- BRUM_DATABASE_NAME=default
- BRUM_DATABASE_USERNAME=default
- BRUM_DATABASE_PASSWORD=
- BRUM_DATABASE_TABLE_PREFIX=
- BRUM_BACKUP_ENABLED=false
- BRUM_BACKUP_DIRECTORY=/home/basicrum_backup
- BRUM_BACKUP_INTERVAL_SECONDS=5
depends_on:
dev_clickhouse_server:
condition: service_healthy