mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-04-13 07:15:14 +00:00
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:
committed by
GitHub
parent
c5037f1fca
commit
e6e8fc7219
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user