Skip to content

Commit 0050fba

Browse files
committed
Ensure postgres is running on a unique port
1 parent 69eab3a commit 0050fba

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ POSTGRES_DB = "cipherstash"
1717
POSTGRES_USER = "cipherstash"
1818
POSTGRES_PASSWORD = "password"
1919
POSTGRES_HOST = "localhost"
20-
POSTGRES_PORT = "5532"
20+
POSTGRES_PORT = "7432"

tests/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ services:
33
container_name: postgres
44
image: postgres
55
ports:
6-
- 5532:5532
6+
- 7432:7432
77
environment:
8-
- PGPORT=5532
8+
- PGPORT=${POSTGRES_PORT}
99
- PGUSER=${POSTGRES_USER}
1010
- POSTGRES_DB=${POSTGRES_DB}
1111
- POSTGRES_USER=${POSTGRES_USER}

0 commit comments

Comments
 (0)