fix: show container on logs/executecontainer command views

fix: exclude containers with restart: no from hc
feat: add compose to predefined docker network
service: add glitchtip
This commit is contained in:
Andras Bacsai
2024-01-21 14:30:03 +01:00
parent 964ded1d0b
commit 2b394d6fea
11 changed files with 123 additions and 20 deletions

View File

@@ -1036,6 +1036,9 @@ function parseDockerComposeFile(Service|Application $resource, bool $isNew = fal
if (!data_get($service, 'restart')) {
data_set($service, 'restart', RESTART_MODE);
}
if (data_get($service, 'restart') === 'no') {
$savedService->update(['exclude_from_status' => true]);
}
data_set($service, 'container_name', $containerName);
data_forget($service, 'volumes.*.content');
data_forget($service, 'volumes.*.isDirectory');