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",