oom is disabled by default

This commit is contained in:
Dane Everitt 2019-11-24 20:02:53 -08:00
parent 3ca6d5d74b
commit 65b01e1869
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -46,7 +46,7 @@ type Server struct {
Image string `json:"image,omitempty"`
// 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.
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.
RebuildRequired bool `default:"false" json:"rebuild_required,omitempty" yaml:"rebuild_required"`
} `json:"container,omitempty"`