performance upgrades by using clickhouse for logs

This commit is contained in:
2026-05-31 20:39:33 +02:00
parent d3d60dcaa9
commit 9e95fe7403
10 changed files with 570 additions and 139 deletions
+12
View File
@@ -2,4 +2,16 @@
mkdir -p /app/data
chmod -R 777 /app/data
rm -f /app/data/*.lock
# Wait for ClickHouse to be ready
echo "Waiting for ClickHouse..."
for i in $(seq 1 30); do
if wget --spider -q http://clickhouse:8123/ping 2>/dev/null; then
echo "ClickHouse is ready"
break
fi
echo " attempt $i..."
sleep 1
done
exec docker-php-entrypoint "$@"