Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
72 lines (68 loc) · 1.56 KB
/
Copy pathdocker-compose.yml
File metadata and controls
72 lines (68 loc) · 1.56 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
62
63
64
65
66
67
68
69
70
71
72
services:
mysql:
image: mysql:8.4
ports:
- "13306:3306"
environment:
MYSQL_ROOT_PASSWORD: test
MYSQL_DATABASE: query_test
tmpfs:
- /var/lib/mysql
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "-ptest"]
interval: 2s
timeout: 5s
retries: 60
mariadb:
image: mariadb:11
ports:
- "13307:3306"
environment:
MARIADB_ROOT_PASSWORD: test
MARIADB_DATABASE: query_test
tmpfs:
- /var/lib/mysql
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
interval: 2s
timeout: 5s
retries: 60
postgres:
image: pgvector/pgvector:pg16
ports:
- "15432:5432"
environment:
POSTGRES_PASSWORD: test
POSTGRES_DB: query_test
tmpfs:
- /var/lib/postgresql/data
healthcheck:
test: ["CMD", "pg_isready", "-U", "postgres", "-d", "query_test"]
interval: 2s
timeout: 5s
retries: 60
clickhouse:
image: clickhouse/clickhouse-server:24
ports:
- "18123:8123"
- "19000:9000"
environment:
CLICKHOUSE_DB: query_test
tmpfs:
- /var/lib/clickhouse
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:8123/ping"]
interval: 2s
timeout: 5s
retries: 60
mongodb:
image: mongo:7
ports:
- "17017:27017"
tmpfs:
- /data/db
healthcheck:
test: ["CMD", "mongosh", "--quiet", "--eval", "db.runCommand({ ping: 1 })"]
interval: 2s
timeout: 5s
retries: 60