File tree 2 files changed +17
-1
lines changed 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ LOKOLE_EMAIL_SERVER_QUEUES_SAS_KEY=
11
11
LOKOLE_EMAIL_SERVER_QUEUES_NAMESPACE =
12
12
LOKOLE_SENDGRID_KEY =
13
13
REGISTRATION_CREDENTIALS = admin:password
14
- WEBAPP_VERSION = 0.5.6
14
+ WEBAPP_VERSION = 0.5.8
15
15
16
16
CLOUDBROWSER_PORT = 10001
17
17
AZURITE_PORT = 10000
Original file line number Diff line number Diff line change @@ -73,7 +73,23 @@ wait_for_api() {
73
73
exit 4
74
74
}
75
75
76
+ wait_for_webapp () {
77
+ local i
78
+
79
+ for i in $( seq 1 " ${max_retries} " ) ; do
80
+ if curl -fs " http://nginx:8888/web/healthcheck/ping" > /dev/null; then
81
+ log " Webapp is running"
82
+ return
83
+ fi
84
+ log " Waiting for webapp (${i} /${max_retries} )"
85
+ sleep " ${polling_interval_seconds} s"
86
+ done
87
+
88
+ exit 4
89
+ }
90
+
76
91
wait_for_rabbitmq
77
92
wait_for_postgres
78
93
wait_for_appinsights
79
94
wait_for_api
95
+ wait_for_webapp
You can’t perform that action at this time.
0 commit comments