- 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
15 lines
316 B
Bash
Executable file
15 lines
316 B
Bash
Executable file
#!/bin/sh
|
|
|
|
kibana_setup() {
|
|
set -xe
|
|
until curl -s -f "localhost:5601/kibana/api/status"; do
|
|
sleep 2
|
|
done
|
|
|
|
curl -v -X POST "localhost:5601/kibana/api/saved_objects/_import?overwrite=true" \
|
|
-H "kbn-xsrf: true" \
|
|
--form file='@/setup/export.ndjson'
|
|
exit 0
|
|
}
|
|
kibana_setup &
|
|
exec /usr/local/bin/kibana-docker
|