Skip to content

Commit

Permalink
Set host 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 9dcbcf7 commit 4500b5c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ jobs:
- name: Setup DB
run: |
cd api
export PGHOST=localhost
sqlx database create
sqlx migrate run
- name: Start API
Expand Down
2 changes: 1 addition & 1 deletion api/.env
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ APP_PORT=3000
# Database
PGUSER=www-data
PGPASSWORD=www-data
PGHOST=localhost
PGHOST=db
PGPORT=5432
PGDATABASE=swissgeol-local

Expand Down
1 change: 0 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ services:
interval: 10s
timeout: 5s
retries: 5
command: postgres -c log_statement=all

volumes:
minio:
Expand Down

0 comments on commit 4500b5c

Please sign in to comment.