From 48916751286aa331d49070a52262b8a6c62ac6f7 Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Thu, 18 Jul 2024 13:25:15 +0000 Subject: [PATCH] feat: add clickhouse service --- clickhouse/src/helpers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clickhouse/src/helpers.rs b/clickhouse/src/helpers.rs index d2d7e8d..64ff3bb 100644 --- a/clickhouse/src/helpers.rs +++ b/clickhouse/src/helpers.rs @@ -62,7 +62,7 @@ pub fn setup() -> Result { ])? .with_exec(vec!["[ -f clickhouse-config.yaml.template ] || pkgx wget https://raw.githubusercontent.com/fluentci-io/services/main/clickhouse/clickhouse-config.yaml.template"])? .with_exec(vec![ - "CLICKHOUSE_CONFIG_DIR=$(ls -d .flox/run/*/etc); ", + "export CLICKHOUSE_CONFIG_DIR=\"$(ls -d .flox/run/*/etc)\"; ", "[ -f $CLICKHOUSE_CONFIG ] || pkgx envsubst < clickhouse-config.yaml.template > $CLICKHOUSE_CONFIG "])? .with_exec(vec![ "grep -q clickhouse: Procfile || echo -e 'clickhouse: clickhouse-server --config-file=$CLICKHOUSE_CONFIG \\n' >> Procfile",