-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
47 lines (44 loc) · 1.14 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
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
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