fix(application): streamline environment variable updates for Docker Compose services and enhance FQDN generation logic

This commit is contained in:
Andras Bacsai
2025-07-24 09:39:27 +02:00
parent cc5abc093d
commit a0bc4dac55
7 changed files with 1794 additions and 248 deletions

View File

@@ -1274,10 +1274,10 @@ class Service extends BaseModel
instant_remote_process($commands, $this->server);
}
public function parse(bool $isNew = false): Collection
public function parse(bool $isNew = false, bool $isOneClick = false): Collection
{
if ((int) $this->compose_parsing_version >= 3) {
return newParser($this);
return serviceParser($this, isOneClick: $isOneClick);
} elseif ($this->docker_compose_raw) {
return parseDockerComposeFile($this, $isNew);
} else {