mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-28 06:20:14 +00:00
increase shm_size for postgresql
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user