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

@ -25,6 +25,7 @@ class Container {
private array $devices;
/** @var string[] */
private array $capAdd;
private string $shmSize;
private DockerActionManager $dockerActionManager;
public function __construct(
@ -41,6 +42,7 @@ class Container {
array $secrets,
array $devices,
array $capAdd,
string $shmSize,
DockerActionManager $dockerActionManager
) {
$this->identifier = $identifier;
@ -56,6 +58,7 @@ class Container {
$this->secrets = $secrets;
$this->devices = $devices;
$this->capAdd = $capAdd;
$this->shmSize = $shmSize;
$this->dockerActionManager = $dockerActionManager;
}
@ -75,6 +78,10 @@ class Container {
return $this->restartPolicy;
}
public function GetShmSize() : string {
return $this->shmSize;
}
public function GetMaxShutdownTime() : int {
return $this->maxShutdownTime;
}