feat(example): add factorio image example
Build and Push Docker Image / Build image (push) Successful in 1m50s
Build and Push Docker Image / Build image (push) Successful in 1m50s
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
package controller
|
||||
|
||||
type SourceRule struct {
|
||||
FolderPath string `yaml:"folderPath"`
|
||||
Viewable bool `yaml:"viewable"`
|
||||
}
|
||||
|
||||
type SourceConfig struct {
|
||||
DefaultEnabled bool `yaml:"DefaultEnabled"`
|
||||
DefaultEnabled bool `yaml:"defaultEnabled"`
|
||||
Rules []SourceRule `yaml:"rules"`
|
||||
}
|
||||
|
||||
type SourceDefinition struct {
|
||||
@@ -15,9 +21,22 @@ type ServerConfig struct {
|
||||
Sources []SourceDefinition `yaml:"sources"`
|
||||
}
|
||||
|
||||
type UserDefaultPermissionConfig struct {
|
||||
Modify bool `yaml:"modify"`
|
||||
Share bool `yaml:"share"`
|
||||
Realtime bool `yaml:"realtime"`
|
||||
Create bool `yaml:"create"`
|
||||
Delete bool `yaml:"delete"`
|
||||
Api bool `yaml:"api"`
|
||||
}
|
||||
|
||||
type UserDefaultsConfig struct {
|
||||
Permissions UserDefaultPermissionConfig `yaml:"permissions"`
|
||||
}
|
||||
|
||||
type AuthPasswordMethodConfig struct {
|
||||
Enabled bool `yaml:"enabled"`
|
||||
MinLength bool `yaml:"minLength"`
|
||||
MinLength int `yaml:"minLength"`
|
||||
}
|
||||
|
||||
type AuthProxyMethodConfig struct {
|
||||
@@ -40,7 +59,8 @@ type FrontendConfig struct {
|
||||
}
|
||||
|
||||
type FileBrowserConfig struct {
|
||||
Server ServerConfig `yaml:"server"`
|
||||
Auth AuthConfig `yaml:"auth"`
|
||||
Frontend FrontendConfig `yaml:"frontend"`
|
||||
Server ServerConfig `yaml:"server"`
|
||||
Auth AuthConfig `yaml:"auth"`
|
||||
Frontend FrontendConfig `yaml:"frontend"`
|
||||
UserDefaults UserDefaultsConfig `yaml:"userDefaults"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user