mirror of
https://tangled.org/evan.jarrett.net/at-container-registry
synced 2026-09-20 01:04:15 +00:00
migate envs to use yaml configs
This commit is contained in:
@@ -181,7 +181,7 @@ func setDefaults(v *viper.Viper) {
|
||||
|
||||
// Legal defaults
|
||||
v.SetDefault("legal.company_name", "")
|
||||
v.SetDefault("legal.jurisdiction", "State of Texas, United States")
|
||||
v.SetDefault("legal.jurisdiction", "")
|
||||
|
||||
// Log formatter (used by distribution config, not in Config struct)
|
||||
v.SetDefault("log_formatter", "text")
|
||||
|
||||
+2
-2
@@ -163,7 +163,7 @@ func setHoldDefaults(v *viper.Viper) {
|
||||
// Registration defaults
|
||||
v.SetDefault("registration.owner_did", "")
|
||||
v.SetDefault("registration.allow_all_crew", false)
|
||||
v.SetDefault("registration.profile_avatar_url", "https://imgs.blue/evan.jarrett.net/1TpTOdtS60GdJWBYEqtK22y688jajbQ9a5kbYRFtwuqrkBAE")
|
||||
v.SetDefault("registration.profile_avatar_url", "https://atcr.io/web-app-manifest-192x192.png")
|
||||
v.SetDefault("registration.enable_bluesky_posts", false)
|
||||
|
||||
// Database defaults
|
||||
@@ -174,7 +174,7 @@ func setHoldDefaults(v *viper.Viper) {
|
||||
v.SetDefault("database.libsql_sync_interval", "60s")
|
||||
|
||||
// Admin defaults
|
||||
v.SetDefault("admin.enabled", false)
|
||||
v.SetDefault("admin.enabled", true)
|
||||
|
||||
// Storage defaults
|
||||
v.SetDefault("storage.access_key", "")
|
||||
|
||||
Reference in New Issue
Block a user