mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 09:14:46 +01:00
49e3ceef5c
* feat(object_storage): add unused object storage with health checks * only prompt debug users if object storage not available at preflight * safe plugin server health check for unused object storage * explicit object storage settings * explicit object storage settings * explicit object storage settings * downgrade pip tools * without spaces? * like this? * without updating pip? * remove object_storage from dev volumes * named volume on hobby * lazily init object storage * simplify conditional check * reproduced error locally * reproduced error locally * object_storage_endpoint not host and port * log more when checking kafka and clickhouse * don't filter docker output * add kafka to hosts before starting stack? * silly cloud tests (not my brain)
14 lines
280 B
Bash
Executable File
14 lines
280 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# Check Kafka
|
|
while true; do
|
|
nc -z localhost 9092 && break || echo 'Checking Kafka status...' && sleep 1
|
|
done
|
|
|
|
# Check ClickHouse
|
|
while true; do
|
|
curl -s -o /dev/null -I 'http://localhost:8123/' && break || echo 'Checking ClickHouse status...' && sleep 1
|
|
done
|