feat(example): add factorio image example
Build and Push Docker Image / Build image (push) Successful in 1m50s

This commit is contained in:
2026-06-28 19:24:51 +03:00
parent 04ad3616c9
commit 54b6631fd0
3 changed files with 77 additions and 13 deletions
+25 -5
View File
@@ -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"`
}