Skip to content

Commit

Permalink
add DB_USER
Browse files Browse the repository at this point in the history
  • Loading branch information
tnaccarato committed Aug 11, 2024
1 parent c65fa9f commit 10ff365
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
echo "POSTGRES_PASSWORD=default_secure_password" >> docker.env
echo "DB_PASS=default_secure_password" >> docker.env
echo "DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1" >> docker.env
echo "POSTGRES_USER=postgres" >> docker.env
echo "DB_USER=postgres" >> docker.env
cat docker.env
- name: Build and Run with Docker Compose
Expand All @@ -48,7 +50,7 @@ jobs:
sleep 20 # Give the DB some time to start
docker compose -f docker-compose-build.yml logs db
docker compose -f docker-compose-build.yml exec -T db pg_isready -U postgres
- name: Run Integration Tests
run: |
Expand Down

0 comments on commit 10ff365

Please sign in to comment.