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

This commit is contained in:
2026-06-28 19:24:51 +03:00
parent 04ad3616c9
commit 9dd5cbf4c5
3 changed files with 61 additions and 11 deletions
+19 -5
View File
@@ -1,7 +1,7 @@
package controller
type SourceConfig struct {
DefaultEnabled bool `yaml:"DefaultEnabled"`
DefaultEnabled bool `yaml:"defaultEnabled"`
}
type SourceDefinition struct {
@@ -15,9 +15,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 +53,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"`
}