-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
54 lines (51 loc) · 1.25 KB
/
Copy pathdocker-compose.test.yml
File metadata and controls
54 lines (51 loc) · 1.25 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
services:
pg17:
image: postgres:17-alpine
environment:
POSTGRES_PASSWORD: test
POSTGRES_USER: test
POSTGRES_DB: test
ports: ["55017:5432"]
healthcheck:
test: ["CMD-SHELL", "pg_isready -U test"]
interval: 2s
timeout: 2s
retries: 15
pg13:
image: postgres:13-alpine
environment:
POSTGRES_PASSWORD: test
POSTGRES_USER: test
POSTGRES_DB: test
ports: ["55013:5432"]
healthcheck:
test: ["CMD-SHELL", "pg_isready -U test"]
interval: 2s
timeout: 2s
retries: 15
mysql84:
image: mysql:8.4
environment:
MYSQL_ROOT_PASSWORD: test
MYSQL_DATABASE: test
MYSQL_USER: testuser
MYSQL_PASSWORD: test
ports: ["33084:3306"]
healthcheck:
test: ["CMD", "mysql", "-h", "127.0.0.1", "-uroot", "-ptest", "test", "-e", "SELECT 1"]
interval: 3s
timeout: 3s
retries: 20
mysql57:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: test
MYSQL_DATABASE: test
MYSQL_USER: testuser
MYSQL_PASSWORD: test
ports: ["33057:3306"]
healthcheck:
test: ["CMD", "mysql", "-h", "127.0.0.1", "-uroot", "-ptest", "test", "-e", "SELECT 1"]
interval: 3s
timeout: 3s
retries: 20