Fix Makefile

main
Max Ignatenko 2024-04-13 20:24:01 +01:00
parent c5f3a55ac8
commit 60c89c8796
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
.PHONY: all build up update down start-db status logs psql init-db
.PHONY: all build up update down start-db status logs psql init-db start-plc wait-for-plc
# ---------------------------- Docker ----------------------------
@ -34,7 +34,7 @@ start-plc: .env
@docker compose up -d --build postgres plc
wait-for-plc:
@. ./.env && while ! curl -sf http://$${METRICS_ADDR:-localhost}:11004/ready; do sleep 10; done
@. ./.env && while ! curl -s --fail-with-body http://$${METRICS_ADDR:-localhost}:11004/ready; do sleep 10; done
# ---------------------------- Docker ----------------------------