-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
94 lines (88 loc) · 2.15 KB
/
docker-compose.test.yml
File metadata and controls
94 lines (88 loc) · 2.15 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
version: '3.8'
services:
postgres-12:
image: postgres:12-alpine
container_name: pgstudio-test-pg12
environment:
POSTGRES_USER: testuser
POSTGRES_PASSWORD: testpass
POSTGRES_DB: testdb
ports:
- "5412:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U testuser"]
interval: 10s
timeout: 5s
retries: 5
volumes:
- pgstudio-test-pg12:/var/lib/postgresql/data
postgres-14:
image: postgres:14-alpine
container_name: pgstudio-test-pg14
environment:
POSTGRES_USER: testuser
POSTGRES_PASSWORD: testpass
POSTGRES_DB: testdb
ports:
- "5414:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U testuser"]
interval: 10s
timeout: 5s
retries: 5
volumes:
- pgstudio-test-pg14:/var/lib/postgresql/data
postgres-15:
image: postgres:15-alpine
container_name: pgstudio-test-pg15
environment:
POSTGRES_USER: testuser
POSTGRES_PASSWORD: testpass
POSTGRES_DB: testdb
ports:
- "5415:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U testuser"]
interval: 10s
timeout: 5s
retries: 5
volumes:
- pgstudio-test-pg15:/var/lib/postgresql/data
postgres-16:
image: postgres:16-alpine
container_name: pgstudio-test-pg16
environment:
POSTGRES_USER: testuser
POSTGRES_PASSWORD: testpass
POSTGRES_DB: testdb
ports:
- "5416:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U testuser"]
interval: 10s
timeout: 5s
retries: 5
volumes:
- pgstudio-test-pg16:/var/lib/postgresql/data
postgres-17:
image: postgres:17-alpine
container_name: pgstudio-test-pg17
environment:
POSTGRES_USER: testuser
POSTGRES_PASSWORD: testpass
POSTGRES_DB: testdb
ports:
- "5417:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U testuser"]
interval: 10s
timeout: 5s
retries: 5
volumes:
- pgstudio-test-pg17:/var/lib/postgresql/data
volumes:
pgstudio-test-pg12:
pgstudio-test-pg14:
pgstudio-test-pg15:
pgstudio-test-pg16:
pgstudio-test-pg17: