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.
This commit is contained in:
Jonatan Czarniecki 2025-08-27 20:16:19 +02:00 committed by GitHub
parent c5037f1fca
commit e6e8fc7219
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -230,7 +230,7 @@ services:
args:
VERSION: 17
ports:
- 5432:5432
- 5432
environment:
POSTGRES_DB: sqlx
POSTGRES_HOST_AUTH_METHOD: trust
@ -374,7 +374,7 @@ services:
args:
VERSION: 13
ports:
- 5432:5432
- 5432
environment:
POSTGRES_DB: sqlx
POSTGRES_HOST_AUTH_METHOD: trust