Skip to content

Commit b74cc47

Browse files
authored
Fixed docker-compose health check (#13)
One line change ## Checklist - [x] My PR name is descriptive and in imperative tense - [x] My commit messages are descriptive and in imperative tense. My commits are atomic and trivial commits are squashed or fixup'd into non-trivial commits - [x] I have run the appropriate linter(s) - [x] I have requested a review from the PL, as well as other devs who have background knowledge on this PR or who will be building on top of this PR
1 parent ad9f36b commit b74cc47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ services:
3636
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
3737
POSTGRES_DB: ${POSTGRES_DATABASE}
3838
healthcheck:
39-
test: ["CMD-SHELL", "pg_isready -U postgres"]
39+
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"]
4040
interval: 5s
4141
timeout: 5s
4242
retries: 5

0 commit comments

Comments
 (0)