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 fd7935b commit 8feb82cCopy full SHA for 8feb82c
Makefile
@@ -43,7 +43,10 @@ format-check-ui:
43
44
upgrade: build
45
$(COMPOSE) up -d postgres elasticsearch
46
- sleep 10
+ # wait for postgres to be available
47
+ @$(COMPOSE) exec postgres pg_isready --timeout=30
48
+ # wait for elasticsearch to be available
49
+ @$(COMPOSE) exec elasticsearch timeout 30 bash -c "printf 'Waiting for elasticsearch'; until curl --silent --output /dev/null localhost:9200/_cat/health?h=st; do printf '.'; sleep 1; done; printf '\n'"
50
$(APPDOCKER) aleph upgrade
51
52
api: services
0 commit comments