updated memory calculation and logo
This commit is contained in:
@@ -24,6 +24,11 @@ type Config struct {
|
||||
Notifications NotificationsConfig `yaml:"notifications"`
|
||||
Logging LoggingConfig `yaml:"logging"`
|
||||
Assets AssetsConfig `yaml:"assets"`
|
||||
System SystemConfig `yaml:"system"`
|
||||
}
|
||||
|
||||
type SystemConfig struct {
|
||||
ReservedMemoryMB int `yaml:"reserved_memory_mb"`
|
||||
}
|
||||
|
||||
type CustomerConfig struct {
|
||||
@@ -196,6 +201,7 @@ func applyDefaults(cfg *Config) {
|
||||
di(&cfg.Logging.MaxSizeMB, 10)
|
||||
di(&cfg.Logging.MaxFiles, 3)
|
||||
d(&cfg.Assets.SourceURL, "https://felhom.eu")
|
||||
di(&cfg.System.ReservedMemoryMB, 384)
|
||||
}
|
||||
|
||||
func applyEnvOverrides(cfg *Config) {
|
||||
|
||||
Reference in New Issue
Block a user