From c5f42d268482553a05a8b83cebd3577bb18907b4 Mon Sep 17 00:00:00 2001 From: tainaCarvalho Date: Thu, 25 Jun 2026 15:13:14 -0300 Subject: [PATCH] buscando o env local --- configure-host.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configure-host.sh b/configure-host.sh index a06b0e2..4933cb9 100755 --- a/configure-host.sh +++ b/configure-host.sh @@ -116,7 +116,13 @@ EOF } load_observability_env() { - local env_file="${INSTALL_DIR}/.env.observability" + local env_file + + if [ -f "./.env.observability" ]; then + env_file="./.env.observability" + else + env_file="${INSTALL_DIR}/.env.observability" + fi if [ ! -f "$env_file" ]; then _observability_defaults "$env_file"