This commit is contained in:
Moritz Utcke
2025-04-20 17:21:46 -04:00
parent f9555c7a1e
commit e21a829cb6
19 changed files with 350 additions and 233 deletions

View File

@@ -41,7 +41,7 @@ stop-database:
- docker stop $(DB_CONTAINER_NAME)
- docker rm $(DB_CONTAINER_NAME)
wait-fordatabase:
wait-for-database:
@while ! docker exec $(DB_CONTAINER_NAME) pg_isready -U $(DB_USER) -h localhost -p $(DB_PORT) > /dev/null 2>&1; do \
sleep 1; \
done