Add a target for waiting until PLC mirror catches up
This commit is contained in:
parent
c6fe0c2350
commit
c5f3a55ac8
4 changed files with 32 additions and 1 deletions
8
Makefile
8
Makefile
|
@ -28,7 +28,13 @@ status:
|
|||
@docker compose stats
|
||||
|
||||
logs:
|
||||
@docker compose logs -f -n 50 lister consumer record-indexer
|
||||
@docker compose logs -f -n 50
|
||||
|
||||
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
|
||||
|
||||
# ---------------------------- Docker ----------------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue