@@ -120,26 +120,24 @@ services:
120
120
command : >
121
121
-c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key
122
122
123
- postgres_13 :
123
+ postgres_14_client_ssl :
124
124
build :
125
125
context : .
126
126
dockerfile : postgres/Dockerfile
127
127
args :
128
- VERSION : 13
128
+ VERSION : 14
129
129
ports :
130
130
- 5432
131
131
environment :
132
132
POSTGRES_DB : sqlx
133
- POSTGRES_USER : postgres
134
- POSTGRES_PASSWORD : password
135
- POSTGRES_HOST_AUTH_METHOD : scram-sha-256
136
- POSTGRES_INITDB_ARGS : --auth-host=scram-sha-256
133
+ POSTGRES_HOST_AUTH_METHOD : trust
134
+ POSTGRES_INITDB_ARGS : --auth-host=trust
137
135
volumes :
138
136
- " ./postgres/setup.sql:/docker-entrypoint-initdb.d/setup.sql"
139
137
command : >
140
- -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key
138
+ -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key -c ssl_ca_file=/var/lib/postgresql/ca.crt -c hba_file=/var/lib/postgresql/pg_hba.conf
141
139
142
- postgres_13_cert :
140
+ postgres_13 :
143
141
build :
144
142
context : .
145
143
dockerfile : postgres/Dockerfile
@@ -156,33 +154,31 @@ services:
156
154
volumes :
157
155
- " ./postgres/setup.sql:/docker-entrypoint-initdb.d/setup.sql"
158
156
command : >
159
- -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key -c ssl_ca_file=/var/lib/postgresql/ca.crt -c hba_file=/var/lib/postgresql/pg_hba.conf
157
+ -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key
160
158
161
- postgres_12 :
159
+ postgres_13_client_ssl :
162
160
build :
163
161
context : .
164
162
dockerfile : postgres/Dockerfile
165
163
args :
166
- VERSION : 12
164
+ VERSION : 13
167
165
ports :
168
166
- 5432
169
167
environment :
170
168
POSTGRES_DB : sqlx
171
- POSTGRES_USER : postgres
172
- POSTGRES_PASSWORD : password
173
- POSTGRES_HOST_AUTH_METHOD : scram-sha-256
174
- POSTGRES_INITDB_ARGS : --auth-host=scram-sha-256
169
+ POSTGRES_HOST_AUTH_METHOD : trust
170
+ POSTGRES_INITDB_ARGS : --auth-host=trust
175
171
volumes :
176
172
- " ./postgres/setup.sql:/docker-entrypoint-initdb.d/setup.sql"
177
173
command : >
178
- -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key
174
+ -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key -c ssl_ca_file=/var/lib/postgresql/ca.crt -c hba_file=/var/lib/postgresql/pg_hba.conf
179
175
180
- postgres_12_cert :
176
+ postgres_12 :
181
177
build :
182
178
context : .
183
179
dockerfile : postgres/Dockerfile
184
180
args :
185
- VERSION : 12.3
181
+ VERSION : 12
186
182
ports :
187
183
- 5432
188
184
environment :
@@ -194,33 +190,31 @@ services:
194
190
volumes :
195
191
- " ./postgres/setup.sql:/docker-entrypoint-initdb.d/setup.sql"
196
192
command : >
197
- -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key -c ssl_ca_file=/var/lib/postgresql/ca.crt -c hba_file=/var/lib/postgresql/pg_hba.conf
193
+ -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key
198
194
199
- postgres_11 :
195
+ postgres_12_client_ssl :
200
196
build :
201
197
context : .
202
198
dockerfile : postgres/Dockerfile
203
199
args :
204
- VERSION : 11
200
+ VERSION : 12.3
205
201
ports :
206
202
- 5432
207
203
environment :
208
204
POSTGRES_DB : sqlx
209
- POSTGRES_USER : postgres
210
- POSTGRES_PASSWORD : password
211
- POSTGRES_HOST_AUTH_METHOD : scram-sha-256
212
- POSTGRES_INITDB_ARGS : --auth-host=scram-sha-256
205
+ POSTGRES_HOST_AUTH_METHOD : trust
206
+ POSTGRES_INITDB_ARGS : --auth-host=trust
213
207
volumes :
214
208
- " ./postgres/setup.sql:/docker-entrypoint-initdb.d/setup.sql"
215
209
command : >
216
- -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key
210
+ -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key -c ssl_ca_file=/var/lib/postgresql/ca.crt -c hba_file=/var/lib/postgresql/pg_hba.conf
217
211
218
- postgres_10 :
212
+ postgres_11 :
219
213
build :
220
214
context : .
221
215
dockerfile : postgres/Dockerfile
222
216
args :
223
- VERSION : 10
217
+ VERSION : 11
224
218
ports :
225
219
- 5432
226
220
environment :
@@ -234,25 +228,24 @@ services:
234
228
command : >
235
229
-c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key
236
230
237
- postgres_10_cert :
231
+ postgres_11_client_ssl :
238
232
build :
239
233
context : .
240
234
dockerfile : postgres/Dockerfile
241
235
args :
242
- VERSION : 10.13
236
+ VERSION : 11
243
237
ports :
244
238
- 5432
245
239
environment :
246
240
POSTGRES_DB : sqlx
247
- POSTGRES_USER : postgres
248
- POSTGRES_PASSWORD : password
249
241
POSTGRES_HOST_AUTH_METHOD : trust
242
+ POSTGRES_INITDB_ARGS : --auth-host=trust
250
243
volumes :
251
244
- " ./postgres/setup.sql:/docker-entrypoint-initdb.d/setup.sql"
252
245
command : >
253
246
-c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key -c ssl_ca_file=/var/lib/postgresql/ca.crt -c hba_file=/var/lib/postgresql/pg_hba.conf
254
247
255
- postgres_9_6 :
248
+ postgres_10 :
256
249
build :
257
250
context : .
258
251
dockerfile : postgres/Dockerfile
@@ -271,55 +264,54 @@ services:
271
264
command : >
272
265
-c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key
273
266
274
- postgres_9_6_cert :
267
+ postgres_10_client_ssl :
275
268
build :
276
269
context : .
277
270
dockerfile : postgres/Dockerfile
278
271
args :
279
- VERSION : 9.6
272
+ VERSION : 10.13
280
273
ports :
281
274
- 5432
282
275
environment :
283
276
POSTGRES_DB : sqlx
284
- POSTGRES_USER : postgres
285
- POSTGRES_PASSWORD : password
286
- POSTGRES_HOST_AUTH_METHOD : md5
277
+ POSTGRES_HOST_AUTH_METHOD : trust
278
+ POSTGRES_INITDB_ARGS : --auth-host=trust
287
279
volumes :
288
280
- " ./postgres/setup.sql:/docker-entrypoint-initdb.d/setup.sql"
289
281
command : >
290
282
-c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key -c ssl_ca_file=/var/lib/postgresql/ca.crt -c hba_file=/var/lib/postgresql/pg_hba.conf
291
283
292
- postgres_9_5 :
284
+ postgres_9_6 :
293
285
build :
294
286
context : .
295
287
dockerfile : postgres/Dockerfile
296
288
args :
297
- VERSION : 9.6
289
+ VERSION : 10
298
290
ports :
299
291
- 5432
300
292
environment :
301
293
POSTGRES_DB : sqlx
302
294
POSTGRES_USER : postgres
303
295
POSTGRES_PASSWORD : password
304
- POSTGRES_HOST_AUTH_METHOD : md5
296
+ POSTGRES_HOST_AUTH_METHOD : scram-sha-256
297
+ POSTGRES_INITDB_ARGS : --auth-host=scram-sha-256
305
298
volumes :
306
299
- " ./postgres/setup.sql:/docker-entrypoint-initdb.d/setup.sql"
307
300
command : >
308
301
-c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key
309
302
310
- postgres_9_5_cert :
303
+ postgres_9_6_client_ssl :
311
304
build :
312
305
context : .
313
306
dockerfile : postgres/Dockerfile
314
307
args :
315
- VERSION : 9.5
308
+ VERSION : 9.6
316
309
ports :
317
310
- 5432
318
311
environment :
319
312
POSTGRES_DB : sqlx
320
- POSTGRES_USER : postgres
321
- POSTGRES_PASSWORD : password
322
- POSTGRES_HOST_AUTH_METHOD : password
313
+ POSTGRES_HOST_AUTH_METHOD : trust
314
+ POSTGRES_INITDB_ARGS : --auth-host=trust
323
315
volumes :
324
316
- " ./postgres/setup.sql:/docker-entrypoint-initdb.d/setup.sql"
325
317
command : >
0 commit comments