Skip to content

Commit

Permalink
chore: Disable adding default environment variables in shared.php
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed Oct 11, 2024
1 parent 1bdd326 commit 511b9de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bootstrap/helpers/shared.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 511b9de

Please sign in to comment.