oom is disabled by default
This commit is contained in:
parent
3ca6d5d74b
commit
65b01e1869
|
@ -46,7 +46,7 @@ type Server struct {
|
||||||
Image string `json:"image,omitempty"`
|
Image string `json:"image,omitempty"`
|
||||||
// If set to true, OOM killer will be disabled on the server's Docker container.
|
// If set to true, OOM killer will be disabled on the server's Docker container.
|
||||||
// If not present (nil) we will default to disabling it.
|
// If not present (nil) we will default to disabling it.
|
||||||
OomDisabled bool `default:"false" json:"oom_disabled" yaml:"oom_disabled"`
|
OomDisabled bool `default:"true" json:"oom_disabled" yaml:"oom_disabled"`
|
||||||
// Defines if the container needs to be rebuilt on the next boot.
|
// Defines if the container needs to be rebuilt on the next boot.
|
||||||
RebuildRequired bool `default:"false" json:"rebuild_required,omitempty" yaml:"rebuild_required"`
|
RebuildRequired bool `default:"false" json:"rebuild_required,omitempty" yaml:"rebuild_required"`
|
||||||
} `json:"container,omitempty"`
|
} `json:"container,omitempty"`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user