We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b9cc7d commit b215513Copy full SHA for b215513
.github/workflows/ci.cd.prod.yml
@@ -83,13 +83,13 @@ jobs:
83
84
echo "Waiting for PostgreSQL to be ready..."
85
for i in {1..10}; do
86
- if docker exec log4u_postgres pg_isready -U postgres; then
+ if docker-compose exec -T postgres pg_isready -U postgres
87
echo "PostgreSQL is ready!"
88
break
89
fi
90
sleep 1
91
done
92
- if ! docker exec log4u_postgres pg_isready -U postgres; then
+ if ! docker-compose exec -T postgres pg_isready -U postgres
93
echo "PostgreSQL did not start in time!"
94
exit 1
95
0 commit comments