chore: Disable adding default environment variables in shared.php
This commit is contained in:
parent
1bdd326307
commit
511b9de3ce
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
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) {
|
if ($resource instanceof Service) {
|
||||||
$ip = $resource->server->ip;
|
$ip = $resource->server->ip;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue