Skip to content

The only tool you need to know what is happening and how to fix it.

hacky

ddux3cfd99a23b1a
diff --git a/docker/start-backend.sh b/docker/start-backend.sh
index ce528183..915b09b1 100644
--- a/docker/start-backend.sh
+++ b/docker/start-backend.sh
@@ -1,8 +1,10 @@
#!/bin/bash
set -e
-echo "Waiting for ClickHouse to be ready..."
-/usr/local/bin/wait-for-clickhouse.sh
+if [[ "$CLICKHOUSE_SERVER" == localhost* ]]; then
+ echo "Waiting for ClickHouse to be ready..."
+ /usr/local/bin/wait-for-clickhouse.sh
+fi
echo "Starting Traceway backend..."
exec /usr/local/bin/traceway-backend