Skip to content

Commit e6e8fc7

Browse files
use random ports for all conatiners (#4007)
I couldn't follow the steps in `tests/README.md` because two containers failed to bind to the same port, already used by a local running database.
1 parent c5037f1 commit e6e8fc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ services:
230230
args:
231231
VERSION: 17
232232
ports:
233-
- 5432:5432
233+
- 5432
234234
environment:
235235
POSTGRES_DB: sqlx
236236
POSTGRES_HOST_AUTH_METHOD: trust
@@ -374,7 +374,7 @@ services:
374374
args:
375375
VERSION: 13
376376
ports:
377-
- 5432:5432
377+
- 5432
378378
environment:
379379
POSTGRES_DB: sqlx
380380
POSTGRES_HOST_AUTH_METHOD: trust

0 commit comments

Comments
 (0)