increase shm_size for postgresql

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-03-29 10:57:44 +02:00
parent b4bd4d115d
commit d0f11028d3
5 changed files with 23 additions and 1 deletions

View file

@ -218,6 +218,11 @@ class ContainerDefinitionFetcher
$capAdd = $entry['cap_add'];
}
$shmSize = '';
if (isset($entry['shm_size'])) {
$shmSize = $entry['shm_size'];
}
$containers[] = new Container(
$entry['container_name'],
$displayName,
@ -232,6 +237,7 @@ class ContainerDefinitionFetcher
$secrets,
$devices,
$capAdd,
$shmSize,
$this->container->get(DockerActionManager::class)
);
}