-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.scale-test.yml
More file actions
103 lines (98 loc) · 2.11 KB
/
docker-compose.scale-test.yml
File metadata and controls
103 lines (98 loc) · 2.11 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
services:
postgres:
image: pgvector/pgvector:0.8.0-pg17
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: grain_test
ports:
- "5433:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 2s
timeout: 5s
retries: 10
node-1:
build:
context: .
dockerfile: Dockerfile.cp-test
environment:
PG_HOST: postgres
PG_PORT: "5432"
PG_USER: postgres
PG_PASSWORD: password
PG_DATABASE: grain_test
NREPL_PORT: "7890"
ports:
- "7890:7890"
depends_on:
postgres:
condition: service_healthy
node-2:
build:
context: .
dockerfile: Dockerfile.cp-test
environment:
PG_HOST: postgres
PG_PORT: "5432"
PG_USER: postgres
PG_PASSWORD: password
PG_DATABASE: grain_test
NREPL_PORT: "7891"
START_DELAY_MS: "3000"
ports:
- "7891:7891"
depends_on:
postgres:
condition: service_healthy
node-3:
build:
context: .
dockerfile: Dockerfile.cp-test
environment:
PG_HOST: postgres
PG_PORT: "5432"
PG_USER: postgres
PG_PASSWORD: password
PG_DATABASE: grain_test
NREPL_PORT: "7892"
START_DELAY_MS: "6000"
ports:
- "7892:7892"
depends_on:
postgres:
condition: service_healthy
node-4:
build:
context: .
dockerfile: Dockerfile.cp-test
environment:
PG_HOST: postgres
PG_PORT: "5432"
PG_USER: postgres
PG_PASSWORD: password
PG_DATABASE: grain_test
NREPL_PORT: "7893"
START_DELAY_MS: "9000"
ports:
- "7893:7893"
depends_on:
postgres:
condition: service_healthy
node-5:
build:
context: .
dockerfile: Dockerfile.cp-test
environment:
PG_HOST: postgres
PG_PORT: "5432"
PG_USER: postgres
PG_PASSWORD: password
PG_DATABASE: grain_test
NREPL_PORT: "7894"
START_DELAY_MS: "12000"
ports:
- "7894:7894"
depends_on:
postgres:
condition: service_healthy