feat(monitoring): general fixup
- added healthcheck for every service
- added nginx second "server" block for monitoring
all monitoring services are now behind this nginx reverse proxy
- fixed logging driver not present for chat service
This commit is contained in:
parent
67c8a9cbd1
commit
8a3481ea8b
10 changed files with 209 additions and 48 deletions
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
kibana_setup() {
|
||||
set -xe
|
||||
until curl -s -f "localhost:5601/api/status"; do
|
||||
until curl -s -f "localhost:5601/kibana/api/status"; do
|
||||
sleep 2
|
||||
done
|
||||
|
||||
curl -v -X POST "localhost:5601/api/saved_objects/_import?overwrite=true" \
|
||||
curl -v -X POST "localhost:5601/kibana/api/saved_objects/_import?overwrite=true" \
|
||||
-H "kbn-xsrf: true" \
|
||||
--form file='@/setup/export.ndjson'
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue