chore(filebrowser): migrate from filebrowser to filebrowser quantum
Build and Push Docker Image / Build image (push) Successful in 9m10s

This commit is contained in:
2026-06-28 19:22:35 +03:00
parent 7158764d2c
commit 04ad3616c9
2 changed files with 115 additions and 24 deletions
+46
View File
@@ -0,0 +1,46 @@
package controller
type SourceConfig struct {
DefaultEnabled bool `yaml:"DefaultEnabled"`
}
type SourceDefinition struct {
Path string `yaml:"path"`
Config SourceConfig `yaml:"config"`
}
type ServerConfig struct {
Port int `yaml:"port"`
BaseUrl string `yaml:"baseURL"`
Sources []SourceDefinition `yaml:"sources"`
}
type AuthPasswordMethodConfig struct {
Enabled bool `yaml:"enabled"`
MinLength bool `yaml:"minLength"`
}
type AuthProxyMethodConfig struct {
Enabled bool `yaml:"enabled"`
Header string `yaml:"header"`
}
type AuthMethodsConfig struct {
Password AuthPasswordMethodConfig `yaml:"password"`
Proxy AuthProxyMethodConfig `yaml:"proxy"`
}
type AuthConfig struct {
AdminUsername string `yaml:"adminUsername"`
Methods AuthMethodsConfig `yaml:"methods"`
}
type FrontendConfig struct {
Name string `yaml:"name"`
}
type FileBrowserConfig struct {
Server ServerConfig `yaml:"server"`
Auth AuthConfig `yaml:"auth"`
Frontend FrontendConfig `yaml:"frontend"`
}