File tree Expand file tree Collapse file tree 1 file changed +15
-24
lines changed Expand file tree Collapse file tree 1 file changed +15
-24
lines changed Original file line number Diff line number Diff line change 1
1
version : ' 3.7'
2
2
3
+ x-shared-config : &shared_config
4
+ environment :
5
+ POSTGRES_HOST_AUTH_METHOD : " ${POSTGRES_HOST_AUTH_METHOD:-scram-sha-256}"
6
+ POSTGRES_USER : test_username
7
+ POSTGRES_DB : test_database
8
+ POSTGRES_PASSWORD : test_password
9
+ ports :
10
+ - 5432:5432
11
+
3
12
services :
13
+ psql-14 :
14
+ image : postgres:14
15
+ << : *shared_config
4
16
psql-13 :
5
17
image : postgres:13
6
- user : postgres:postgres
7
- environment :
8
- POSTGRES_HOST_AUTH_METHOD : " ${POSTGRES_HOST_AUTH_METHOD:-md5}"
9
- POSTGRES_USER : test_username
10
- POSTGRES_DB : test_database
11
- POSTGRES_PASSWORD : test_password
12
- ports :
13
- - 5432:5432
18
+ << : *shared_config
14
19
psql-12 :
15
20
image : postgres:12
16
- user : postgres:postgres
17
- environment :
18
- POSTGRES_HOST_AUTH_METHOD : " ${POSTGRES_HOST_AUTH_METHOD:-md5}"
19
- POSTGRES_USER : test_username
20
- POSTGRES_DB : test_database
21
- POSTGRES_PASSWORD : test_password
22
- ports :
23
- - 5432:5432
21
+ << : *shared_config
24
22
psql-11 :
25
23
image : postgres:11
26
- user : postgres:postgres
27
- environment :
28
- POSTGRES_HOST_AUTH_METHOD : " ${POSTGRES_HOST_AUTH_METHOD:-md5}"
29
- POSTGRES_USER : test_username
30
- POSTGRES_DB : test_database
31
- POSTGRES_PASSWORD : test_password
32
- ports :
33
- - 5432:5432
24
+ << : *shared_config
You can’t perform that action at this time.
0 commit comments