From 511b9de3ce5f1ad87e01cd0cedbffdc303f8a586 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 11 Oct 2024 11:04:44 +0200 Subject: [PATCH] chore: Disable adding default environment variables in shared.php --- bootstrap/helpers/shared.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.php index f8bd1ffbd..cfdea81fb 100644 --- a/bootstrap/helpers/shared.php +++ b/bootstrap/helpers/shared.php @@ -3896,6 +3896,8 @@ function isAssociativeArray($array) */ function add_coolify_default_environment_variables(StandaloneRedis|StandalonePostgresql|StandaloneMongodb|StandaloneMysql|StandaloneMariadb|StandaloneKeydb|StandaloneDragonfly|StandaloneClickhouse|Application|Service $resource, Collection &$where_to_add, ?Collection $where_to_check = null) { + // Currently disabled + return; if ($resource instanceof Service) { $ip = $resource->server->ip; } else {