-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathdocker-compose.yml
69 lines (64 loc) · 1.59 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
58
59
60
61
62
63
64
65
66
67
68
69
version: "3.9"
services:
php74:
container_name: laravel-clickhouse-lib-74
image: laravel-clickhouse-lib-74
build:
context: ./
dockerfile: ./.docker/php74/Dockerfile
tty: true
working_dir: /app
volumes:
- ./:/app
php82:
container_name: laravel-clickhouse-lib-82
image: laravel-clickhouse-lib-82
build:
context: ./
dockerfile: ./.docker/php82/Dockerfile
tty: true
working_dir: /app
volumes:
- ./:/app
php83:
container_name: laravel-clickhouse-lib-83
image: laravel-clickhouse-lib-83
build:
context: ./
dockerfile: ./.docker/php83/Dockerfile
tty: true
working_dir: /app
volumes:
- ./:/app
php84:
container_name: laravel-clickhouse-lib-84
image: laravel-clickhouse-lib-84
build:
context: ./
dockerfile: ./.docker/php84/Dockerfile
tty: true
working_dir: /app
volumes:
- ./:/app
clickhouse:
container_name: laravel-clickhouse-clickhouse
image: yandex/clickhouse-server:21.8-alpine
volumes:
- ./.docker-volume-clickhouse:/var/lib/clickhouse
- ./.docker/clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/logging.xml:ro
- ./.docker/clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/logging.xml:ro
healthcheck:
test: wget --spider -q 0.0.0.0:8123/ping
interval: 5s
timeout: 3s
retries: 5
ulimits:
nofile:
soft: 262144
hard: 262144
ports:
- "8123:8123"
- "9000:9000"
volumes:
.docker-volume-clickhouse:
driver: local