Skip to content

Commit

Permalink
fix(backend): db config
Browse files Browse the repository at this point in the history
  • Loading branch information
thelissimus committed Dec 25, 2023
1 parent a6246c6 commit 0040c82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ jobs:
context: .
file: Dockerfile.backend
push: true
tags: thelissimus/hs-challenge-backend:latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/hs-challenge-backend:latest
- uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.frontend
push: true
tags: thelissimus/hs-challenge-frontend:latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/hs-challenge-frontend:latest
4 changes: 2 additions & 2 deletions resources/config/backend.edn
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
:db #profile {:default
{:dbtype "postgresql"
:dbname "challenge"
:host "localhost"
:host #env DB_HOST
:username "postgres"
:password #or [#env DB_PASSWORD ""]}
:test
{:dbtype "postgresql"
:dbname "challenge_test"
:host "localhost"
:host #env DB_HOST
:username "postgres"
:password #or [#env DB_TEST_PASSWORD ""]}}}

0 comments on commit 0040c82

Please sign in to comment.