Skip to content

Commit

Permalink
Set pghost to localhost in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
TIL-EBP committed Nov 14, 2024
1 parent c7cae81 commit 5421a26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:
RUST_VERSION: "1.73"
SQLX_OFFLINE: true
SQLX_VERSION: 0.7.3
PGHOST: localhost # Overrides the default value in .env

jobs:
# add_review_links:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ services:
volumes:
- db:/var/lib/postgresql/data
healthcheck:
test: ["CMD", "pg_isready", "-U", "${PGUSER}", "${PGDATABASE}"]
test: ["CMD-SHELL", "pg_isready -U ${PGUSER} -d ${PGDATABASE}"]
interval: 10s
timeout: 5s
retries: 5
Expand Down

0 comments on commit 5421a26

Please sign in to comment.